Hi Levi,

Well ...

Rundata objects is build from request, so ... the scope of this object is "request".
Of course, you need to save the user preferences into the session.
"Aplication" ... means for all users, I don't think that you want one user to change the preferences
of another user!!!

Best,

Sergiu

PS: you can save the locale into the database too, so that at the next login, the user doesn't need to
change the language again.

Kintzel Levente wrote:

Hi!



I want to develop an application with multiple locales. The user can change
the locale from a navigation part, and the content must be displayed in
another language. For this I tried to use the Localization service that
loads the labels from different bundles correctly. My problem is how to make
Turbine not to forget the chosen locale. I tried to set the locale of
RunData (runData.setLocale(new Locale("localeid"))) but when I change the
screen the locale is reset to default locale specified in TR.prop. Why? Is
there a specific way to store the chosen locale that persist all the
application? Or must I store it on the session?



Thank you!



  Regards,

          Levi



P.S. My Turbine version: 2.3.2




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to