[i18n] Re: Correcting UI in RTL languages

Jan Schneider jan at horde.org
Tue Apr 19 03:41:01 PDT 2005


Zitat von persian-horde at metanetworking.com:

>> First of all, I completely support the effort to make IMP and indeed
>> all of Horde more RTL friendly. However, I'd prefer a different
>> approach. I'd like to see different themes for RTL languages (or
>> modifications of existing themes, like bluewhite-rtl). We should be
>> able to achieve most modifications simply be changing text-align and
>> float: styles. This will require patches to the IMP display code (and
>> other parts of Horde), to use the right classes or to use the right
>> markup to be controllable, but it'll avoid inserting lots of if ()
>> statements into the code.
>>
>> -chuck
>
> Hello all,
> thanks chuck for your reply,
>
> We could create a new theme for RTL languages, but this could not fix the
> appearance problems in many cases. The problem is that in the most lines
> of code, there is not any "class=" or "id=" attributes to be used in *.css
> theme files.
> Also many alignments are defined statically to be "left" or "right". For
> example,
> in
> IMP 4.0 stable, imp/templates/compose/compose.inc, Line 65
> we have:
> <td nowrap="nowrap" align="left">
>
> As you see the alignment is statically set to "left". To use themes to
> correct RTL appearance, it's neccessary to define class or id attributes
> in many tags and also omit many static alignments.

That's exactly what Chuck was suggesting.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the i18n mailing list