You could add a dropdown for language selection and when the user makes a 
selection, store the value in the session. Then use T.force('[language 
code]') in a model file to force translations to the particular language. 
If you want the selection to be remembered across sessions, you could set a 
cookie on the user's machine (or if most of the site is behind a login, you 
could instead store the user's preferred language as part of their profile).

Anthony

On Thursday, July 5, 2012 7:01:55 AM UTC-4, Fernando J wrote:
>
> How is set a language selector in layout.html in order to any user may 
> select any language during his session?
>
> Thanks in advance
>
> Fernando J.
>

Reply via email to