| Scout i18n [message #832106] |
Thu, 29 March 2012 15:29  |
Adrian Moser Messages: 65 Registered: March 2011 |
Member |
|
|
I would like to force a certain language in Eclipse Scout.
In my ClientSession.execLoadSession(), I do:
setLocale(new Locale("en"));
Is this the correct way? For some reasons, only the search forms and some other stuff are translated, but not everything. For example the menues and the outline tree are not translated.
|
|
|
| Re: Scout i18n [message #832107 is a reply to message #832106] |
Thu, 29 March 2012 15:33   |
Adrian Moser Messages: 65 Registered: March 2011 |
Member |
|
|
I probably just solved it... I guess
setLocale(new Locale("en"));
has to be one of the first statements, especially before setDesktop(new Desktop()). It seems to work.
|
|
|
| Re: Scout i18n [message #832114 is a reply to message #832107] |
Thu, 29 March 2012 15:42   |
Adrian Moser Messages: 65 Registered: March 2011 |
Member |
|
|
Perhaps anyone can explain the difference between those two statements, do I need both in ClientSession.execLoadSession()?
setLocale(locale);
LocaleThreadLocal.set(locale);
|
|
|
|
|
| Re: Scout i18n [message #915416 is a reply to message #832220] |
Mon, 17 September 2012 04:31  |
Jeremie Bresson Messages: 259 Registered: October 2011 |
Senior Member |
|
|
Ivan Motsch wrote on Fri, 30 March 2012 01:04Basically if you want to start a java app in a language just start it with the system properties in your product configurations "Launching" Tab.
-Duser.language=en
-Duser.country=US
We have tried this, and we were not really successful.
At the end, we have added:
It seems to work.
Could you explain the difference? What is better?
|
|
|
Powered by
FUDForum. Page generated in 0.07176 seconds