That will work, Note that generally this is only required for people who want to view the site in a language the client (browser) is not set up for (something we do all the time when we are creating multilingual applications.
Christopher Steel Voice of Access On 31 août, 10:42, Skiros <hansen.marc...@gmail.com> wrote: > Hmmm > > Maybe You can save the language selected like a property of the user > and in the login > store that value in a session variable and use that with T.force() in > any action... > > On 26 ago, 06:53, David Marko <dma...@tiscali.cz> wrote:> How can I switch > language in application in a way, that app will > > remember this? T.force() seems to just switch translations in one > > request, but how to make scenario, that user will click on particular > > language flag icon and since that application will display in selected > > translation. I guess some cookie must be involved but not sure if > > there is some mechanism in web2py already. > > > Thanks, for any hint, > > David