Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Forms] Locales with country and variant code
[EMF Forms] Locales with country and variant code [message #1731700] Mon, 09 May 2016 11:27 Go to next message
Heiko Schaefer is currently offline Heiko SchaeferFriend
Messages: 7
Registered: April 2016
Junior Member
I added OSGi localization property files to my edit project to support
different translations for germany and austria. I start my e4
application with "-nl de_AT". The injected EMFFormsLocaleProvider
returns "de_AT", but the EMFFormsLocalizationService returns the german
translations instead of the expected austrian translations. Apparently
the implementation EMFFormsLocalizationServiceImpl (1.8.0) does not
support country or variant codes because getLocale() returns only the
language part of the locale. Is my assumption correct and is there a way
to use locales with country and variant code with EMF Forms?
Re: [EMF Forms] Locales with country and variant code [message #1731931 is a reply to message #1731700] Wed, 11 May 2016 07:53 Go to previous messageGo to next message
Eugen Neufeld is currently offline Eugen NeufeldFriend
Messages: 174
Registered: May 2015
Senior Member
Hi Heiko,
currently this is not possible. You will have to override the existing EMFFormsLocalizationServiceImpl by providing your own OSGi-Service with a higher ranking.
Could you please open a Bug Report for this?

Cheers,
Eugen


--
Eugen Neufeld

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [EMF Forms] Locales with country and variant code [message #1731990 is a reply to message #1731931] Wed, 11 May 2016 13:07 Go to previous message
Heiko Schaefer is currently offline Heiko SchaeferFriend
Messages: 7
Registered: April 2016
Junior Member
Thank you for the reply Eugen. I just opened a bug for this topic
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=493421).

Kind regards...
Heiko
Previous Topic:[EMFStore] Support for multiple workspaces
Next Topic:ECP - RAP editor and data binding via emfstore
Goto Forum:
  


Current Time: Thu Apr 18 13:50:58 GMT 2024

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

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

Back to the top