I've written a tool in Python that will automatically convert CSS from LTR to RTL. It's been used successfully to ease the conversion of tens of WordPress's themes. How do you think it could be used to help in django?
It basically takes a CSS file and converts all right or left rules to the opposite and the same for values. It will preserves comments, whitespace, .. etc. For Arabic websites, I see that most of them are using the dir attribute instead of the direction CSS rule. I've always used dir to comply with that W3C tech document (the tech document makes a lot of sense to me). Meir Kriheli wrote: > Jeroen Ruigrok van der Werven wrote: > > On 6/8/06, Meir Kriheli <[EMAIL PROTECTED]> wrote: > >> Actually that technique is rare around here. We don't specify dir="rtl" > >> in the actual content. Most of the developers around here prefer to > >> specify in a stylesheet "direction:rtl" for the body tag. Eases the > >> development for multilingual sites, and it's working as it should. > > > > direction: has issues in IE 7 (especially with :hover) and in some > > cases in IE 6 as well. dir="" syntax works for IE, Opera and Firefox > > as it should. > > > > See http://www.webdevout.net/ for more information. > > > > Someone should put that browser out of it's misery. Added it to base.html. > > Thanks > -- > Meir Kriheli > http://mksoft.co.il --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django I18N" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Django-I18N -~----------~----~----~----~------~----~------~--~---
