Yes. In layout:
<style>
body { {{=T('direction: ltr'}} };
</style>
and translate as: 'direction: rtl'
On Nov 20, 1:01 pm, "hamdy.a.farag" <[email protected]> wrote:
> Hi
>
> How can I set the text direction to follow the default orientation of
> the selected language in my system
>
> suppose my default language selected in system is english, then text
> flows from left right in user_name field and also in last name, mail,
> password
>
> if I turned my language to a Right to Left language, I want the
> authentication form to follow this and text flows from right to left
>
> so, can this be done ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---