Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Need the local country setting in a variable
Need the local country setting in a variable [message #1764279] Sat, 27 May 2017 17:47 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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();
Re: Need the local country setting in a variable [message #1764619 is a reply to message #1764354] Wed, 31 May 2017 19:46 Go to previous message
Eclipse UserFriend
Hy Matthias,

thanks so lot ... it works very cool ...
Previous Topic:Scout paid support?
Next Topic:Neon to Oxygen: Recommended approach
Goto Forum:
  


Current Time: Sat Feb 08 14:12:43 GMT 2025

Powered by FUDForum. Page generated in 0.03999 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top