Hi,
try
T.set_current_languages('it')
see
http://web2py.com/books/default/chapter/29/04/the-core#Determining-the-language
Paolo
On Thursday, October 23, 2014 1:47:11 PM UTC+2, Manuele wrote:
>
> Hi,
> maybe I'm wrong but it seams that during development I have to write
> messages in english using the translator and than write the
> corresponding translation in language file I intend to use. Is these a
> way of using another language during development maybe identifying it
> every times I use T e.g.
>
> T('qualcosa', lang='it')
> ^^^^^^^ (just an example I know it's not supported
> that way)
>
> and then provide the english (or what else) translation?
>
> I hoper I've been clear enough :)
> thank you very mutch
>
> Manuele
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.