Re: [web2py] form in hebrew

2014-02-02 Thread Adnan Smajlovic
The browser does it automatically, since I don't remember doing anything special for this website, other than string translations, and enforcing the language. There is a selection on the menu: English/Hebrew, which demonstrate an automatic right/left align of text, but as you said custom-form woul

Re: [web2py] form in hebrew

2014-02-01 Thread Izar Tarandach
That would take care of the string translation, but not change the order of the label/input fields. For that I suppose you'd have to create your own form by hand as described in http://web2py.com/book/default/chapter/07#Custom-forms Although I'm not sure (no CSS/HTML/browser wizard myself) - if t

Re: [web2py] form in hebrew

2014-02-01 Thread Adnan Smajlovic
Hi Danny, Use/Create a translation file en-he, and all will be done for you. After that, use all your text with a T() tag. Field('message', 'text', label=*T*('Inquiry Message'), default='') There will be no issues: http://beauty-spots.com/inquire (Just spotted that first field wasn't translated,