Skip to main content



      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 07:27 Go to next message
Eclipse UserFriend
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 03:53 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: [EMF Forms] Locales with country and variant code [message #1731990 is a reply to message #1731931] Wed, 11 May 2016 09:07 Go to previous message
Eclipse UserFriend
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: Tue Jul 15 09:28:20 EDT 2025

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

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

Back to the top