Need the local country setting in a variable [message #1764279] |
Sat, 27 May 2017 17:47  |
Eclipse User |
|
|
|
The translations are available in org.eclipse.scout.xxx.shared -> Texts.nls
The translations are controlled independently by the scout framework. But how?
For my development, I need the "local country setting" in a variable. How do I get this value?
|
|
|
Re: Need the local country setting in a variable [message #1764354 is a reply to message #1764279] |
Mon, 29 May 2017 05:13   |
Eclipse User |
|
|
|
Scout uses implementations of ITextProviderService to access the translations. As these are also just beans, one can easily create additional ones or subclass existing ones.
If you want to access the locale within your application you could try to call
Locale l = NlsLocale.get();
String c = l.getCountry();
|
|
|
|
Powered by
FUDForum. Page generated in 0.03489 seconds