Problem with jFace and i18n [message #551637] |
Sun, 08 August 2010 11:31  |
Eclipse User |
|
|
|
Hi,
I'm trying to use RAP 1.3 for our application and I run into some trouble with the new multi-language system property in combination with jface and the language of buttons etc.. So far we used RAP 1.2, so what I did was to remove the "org.eclipse.rap.equinox.registry" plugin and adding "-Declipse.registry.MultiLanguage=true" to the VM arguments. For the translation I use fragments from the Babel project.
For messages used in the plugin.xml it seems to work but all buttons in the dialogs are only showing the messages from the babel fragment which will be wrong, if the language of the browser is for example English and the language of the babel fragment is German.
Did I do something wrong or is there something more to do?
Thanks for any hints.
Christian
|
|
|
|
Re: Problem with jFace and i18n [message #551861 is a reply to message #551637] |
Mon, 09 August 2010 16:05  |
Eclipse User |
|
|
|
Hello Rüdiger,
I was aware of the fact, that the browsers Accept-Language header is used to define the local, but in my case my browsers language was set to en_US, but the text in my message dialog was german. I think the reason was, that the default language of my host is german and my run configuration used the program argument "-nl ${target.nl}", so this is the default locale is "de". If I set the "-nl" argument in my run configuration to "en", it works.
Thanks for your help
Christian
|
|
|
Powered by
FUDForum. Page generated in 0.03221 seconds