Re: [web2py] Re: bidirectional languages

2012-04-13 Thread Kalpa Welivitigoda
On Thu, Apr 12, 2012 at 11:39 PM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: 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

[web2py] Re: bidirectional languages

2012-04-12 Thread Massimo Di Pierro
Yes. You have to translate the CSS that determines the alignment as well. On Thursday, 12 April 2012 05:15:29 UTC-5, Kalpa Welivitigoda wrote: Hi, Does the translation feature of web2py support bidirectional languages?

Re: [web2py] Re: bidirectional languages

2012-04-12 Thread Kalpa Welivitigoda
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

Re: [web2py] Re: bidirectional languages

2012-04-12 Thread Massimo Di Pierro
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