[i18n] Re: Correcting UI in RTL languages

persian-horde at metanetworking.com persian-horde at metanetworking.com
Thu Apr 21 08:45:32 PDT 2005


>> Hello all,
>> thanks from chuck and Jan for their replies,
>> At the first step of correcting RTL appearance, we created a new theme
>> (based on bluewhite theme)  and named it “True RTL”.
>> In our new theme,  we inserted 2 classes  that styles of them defined
>> as follow:
>>
>> .rtlalign_left  {
>>       text-align:left;
>> }
>> .rtlalign_right  {
>>        text-align:right;
>> }
>
> I would prefer a shorter name like "alignLeft" or "leftAlign" that uses
>  "text-align: left;" in the main screen.css and "text-align: right;" in
>  your theme.
>
>> In the second step, we fixed rtl problems just in  “compose”
>> and  “search”  pages of IMP4 as a test by using from one of these
>> classes in “<td” tags (just in “td” tags that had alignment
>> problem in rtl) . But in some cases, we couldn’t use from above
>> classes, because there was a defined class in them. In these cases we
>> used from “id” attribute, e.g.
>>
>> <td class=”item” id=”rtlleft1” 

>
> That's not necessary. You can do:
> <td class=”item alignLeft” Jan.

Thanks Jan for your grate suggestion.

Persian-horde





More information about the i18n mailing list