You have to use something like in CSS .rlt { direction:rtl; } .ltr { direction:ltr; }
and use something like <span class={{=T('rtl')}}>{{=T('text')}}</span> and translate the direction as you translate the text. On Thursday, 12 April 2012 08:22:09 UTC-5, Kalpa Welivitigoda wrote: > > On Thu, Apr 12, 2012 at 5:56 PM, Massimo Di Pierro > <massimo.dipie...@gmail.com> wrote: > > Yes. You have to translate the CSS that determines the alignment as well. > > > > My translation file is applications/eden/languages/ur.py (eden is my > application name). > > There I have an untranslated string as "Today (Monday)" and in Urdu > language which is a RTL it is displayed as "Today ((Monday". > I want to have the "(" and ")" in LTR and the rest in RTL. > > How can I accomplish this? > > > > > On Thursday, 12 April 2012 05:15:29 UTC-5, Kalpa Welivitigoda wrote: > >> > >> Hi, > >> > >> Does the translation feature of web2py support bidirectional languages? > > -- > Best Regards, > > Kalpa Pathum Welivitigoda > http://about.me/callkalpa > >