Home » Eclipse Projects » Remote Application Platform (RAP) » Internationalization for internal plugins
| |
Re: Internationalization for internal plugins [message #510357 is a reply to message #510356] |
Wed, 27 January 2010 10:43 |
Ralf Heydenreich Messages: 235 Registered: July 2009 |
Senior Member |
|
|
Benjamin Muskalla schrieb:
> Hi Ralf,
>
> you can use the RAP language packs from Eclipse babel. Just add the
> nl-fragments to your target platform. This worked for me without
> problems some weeks ago.
> In case you want to translate extension points, please be sure to
> include the equinox patch fragment (if you're running <1.3M5) or enable
> multi locale support for the equinox registry (see N&N [2]).
>
> [1] http://eclipse.org/babel/
> [2] http://eclipse.org/rap/noteworthy/news_13M5.php
Ok, thanks for your fast answer. But the problem is that we use Eclipse
3.4 and RAP 1.2.0, and it seems the NL pack is only for the Galileo
release, isn't it?
Ralf.
>
> R. Heydenreich wrote:
>> Hi all,
>> the I18N tutorial for RAP only explains how to internationalize the own
>> code. But I have to i18n the JFace output (more special, I have to
>> translate the WizardPage buttons). I tried to solve this problem with
>> creating my own properties file dialogmessages_de.properties in
>> org.eclipse.jface, but it didn't work (despite I've set the correct
>> target locale). How can I achieve this?
>>
>> TIA,
>> Ralf.
>
>
|
|
|
Re: Internationalization for internal plugins [message #510375 is a reply to message #510357] |
Wed, 27 January 2010 11:47 |
Benjamin Muskalla Messages: 338 Registered: July 2009 |
Senior Member |
|
|
Hi Ralf,
RAP 1.2.0 is part of the Galileo release train. The nl packs here should
work for you:
http://download.eclipse.org/technology/babel/babel_language_ packs/galileo.php
Regards,
Benny
R. Heydenreich wrote:
> Benjamin Muskalla schrieb:
>> Hi Ralf,
>>
>> you can use the RAP language packs from Eclipse babel. Just add the
>> nl-fragments to your target platform. This worked for me without
>> problems some weeks ago.
>> In case you want to translate extension points, please be sure to
>> include the equinox patch fragment (if you're running <1.3M5) or enable
>> multi locale support for the equinox registry (see N&N [2]).
>>
>> [1] http://eclipse.org/babel/
>> [2] http://eclipse.org/rap/noteworthy/news_13M5.php
>
> Ok, thanks for your fast answer. But the problem is that we use Eclipse
> 3.4 and RAP 1.2.0, and it seems the NL pack is only for the Galileo
> release, isn't it?
>
> Ralf.
>
>
>> R. Heydenreich wrote:
>>> Hi all,
>>> the I18N tutorial for RAP only explains how to internationalize the own
>>> code. But I have to i18n the JFace output (more special, I have to
>>> translate the WizardPage buttons). I tried to solve this problem with
>>> creating my own properties file dialogmessages_de.properties in
>>> org.eclipse.jface, but it didn't work (despite I've set the correct
>>> target locale). How can I achieve this?
>>>
>>> TIA,
>>> Ralf.
>>
--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
|
|
|
Re: Internationalization for internal plugins [message #510466 is a reply to message #510375] |
Wed, 27 January 2010 15:16 |
Ralf Heydenreich Messages: 235 Registered: July 2009 |
Senior Member |
|
|
Benjamin Muskalla schrieb:
> Hi Ralf,
>
> RAP 1.2.0 is part of the Galileo release train. The nl packs here should
> work for you:
> http://download.eclipse.org/technology/babel/babel_language_ packs/galileo.php
>
>
Ah, ok. I've downloaded it and unzipped it in the eclipse directory. But
I've read that for RAP 1.2 the package org.eclipse.rap.equinox.registry
is needed. I've packed it into the plugin dir, but the application is
not internationalized. Is there any other thing I have to do?
Ralf.
> Regards,
> Benny
>
> R. Heydenreich wrote:
>> Benjamin Muskalla schrieb:
>>> Hi Ralf,
>>>
>>> you can use the RAP language packs from Eclipse babel. Just add the
>>> nl-fragments to your target platform. This worked for me without
>>> problems some weeks ago.
>>> In case you want to translate extension points, please be sure to
>>> include the equinox patch fragment (if you're running <1.3M5) or enable
>>> multi locale support for the equinox registry (see N&N [2]).
>>>
>>> [1] http://eclipse.org/babel/
>>> [2] http://eclipse.org/rap/noteworthy/news_13M5.php
>>
>> Ok, thanks for your fast answer. But the problem is that we use Eclipse
>> 3.4 and RAP 1.2.0, and it seems the NL pack is only for the Galileo
>> release, isn't it?
>>
>> Ralf.
>>
>>
>>> R. Heydenreich wrote:
>>>> Hi all,
>>>> the I18N tutorial for RAP only explains how to internationalize the own
>>>> code. But I have to i18n the JFace output (more special, I have to
>>>> translate the WizardPage buttons). I tried to solve this problem with
>>>> creating my own properties file dialogmessages_de.properties in
>>>> org.eclipse.jface, but it didn't work (despite I've set the correct
>>>> target locale). How can I achieve this?
>>>>
>>>> TIA,
>>>> Ralf.
>>>
>
>
|
|
|
Re: Internationalization for internal plugins [message #510686 is a reply to message #510466] |
Thu, 28 January 2010 10:43 |
Benjamin Muskalla Messages: 338 Registered: July 2009 |
Senior Member |
|
|
Hi Ralf,
having the right locale in your browser that matches your locales in the
fragments should work. Could you post the output of "ss" of your running
application?
Regards,
Ben
R. Heydenreich wrote:
> Benjamin Muskalla schrieb:
>> Hi Ralf,
>>
>> RAP 1.2.0 is part of the Galileo release train. The nl packs here should
>> work for you:
>> http://download.eclipse.org/technology/babel/babel_language_ packs/galileo.php
>>
>>
>
> Ah, ok. I've downloaded it and unzipped it in the eclipse directory. But
> I've read that for RAP 1.2 the package org.eclipse.rap.equinox.registry
> is needed. I've packed it into the plugin dir, but the application is
> not internationalized. Is there any other thing I have to do?
>
> Ralf.
>
>> Regards,
>> Benny
>>
>> R. Heydenreich wrote:
>>> Benjamin Muskalla schrieb:
>>>> Hi Ralf,
>>>>
>>>> you can use the RAP language packs from Eclipse babel. Just add the
>>>> nl-fragments to your target platform. This worked for me without
>>>> problems some weeks ago.
>>>> In case you want to translate extension points, please be sure to
>>>> include the equinox patch fragment (if you're running <1.3M5) or enable
>>>> multi locale support for the equinox registry (see N&N [2]).
>>>>
>>>> [1] http://eclipse.org/babel/
>>>> [2] http://eclipse.org/rap/noteworthy/news_13M5.php
>>> Ok, thanks for your fast answer. But the problem is that we use Eclipse
>>> 3.4 and RAP 1.2.0, and it seems the NL pack is only for the Galileo
>>> release, isn't it?
>>>
>>> Ralf.
>>>
>>>
>>>> R. Heydenreich wrote:
>>>>> Hi all,
>>>>> the I18N tutorial for RAP only explains how to internationalize the own
>>>>> code. But I have to i18n the JFace output (more special, I have to
>>>>> translate the WizardPage buttons). I tried to solve this problem with
>>>>> creating my own properties file dialogmessages_de.properties in
>>>>> org.eclipse.jface, but it didn't work (despite I've set the correct
>>>>> target locale). How can I achieve this?
>>>>>
>>>>> TIA,
>>>>> Ralf.
>>
--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
|
|
|
Re: Internationalization for internal plugins [message #511057 is a reply to message #510686] |
Fri, 29 January 2010 16:27 |
Ralf Heydenreich Messages: 235 Registered: July 2009 |
Senior Member |
|
|
Benjamin Muskalla schrieb:
> Hi Ralf,
>
> having the right locale in your browser that matches your locales in the
> fragments should work. Could you post the output of "ss" of your running
> application?
Hi Ben,
the "ss" command was the right tip! I didn't start the language
packages, and therefore the localization didn't work. Now I've added
them and it works perfectly. Thanks for your help.
Ralf.
>
> Regards,
> Ben
>
> R. Heydenreich wrote:
>> Benjamin Muskalla schrieb:
>>> Hi Ralf,
>>>
>>> RAP 1.2.0 is part of the Galileo release train. The nl packs here should
>>> work for you:
>>> http://download.eclipse.org/technology/babel/babel_language_ packs/galileo.php
>>>
>>>
>>>
>>
>> Ah, ok. I've downloaded it and unzipped it in the eclipse directory. But
>> I've read that for RAP 1.2 the package org.eclipse.rap.equinox.registry
>> is needed. I've packed it into the plugin dir, but the application is
>> not internationalized. Is there any other thing I have to do?
>>
>> Ralf.
>>
>>> Regards,
>>> Benny
>>>
>>> R. Heydenreich wrote:
>>>> Benjamin Muskalla schrieb:
>>>>> Hi Ralf,
>>>>>
>>>>> you can use the RAP language packs from Eclipse babel. Just add the
>>>>> nl-fragments to your target platform. This worked for me without
>>>>> problems some weeks ago.
>>>>> In case you want to translate extension points, please be sure to
>>>>> include the equinox patch fragment (if you're running <1.3M5) or
>>>>> enable
>>>>> multi locale support for the equinox registry (see N&N [2]).
>>>>>
>>>>> [1] http://eclipse.org/babel/
>>>>> [2] http://eclipse.org/rap/noteworthy/news_13M5.php
>>>> Ok, thanks for your fast answer. But the problem is that we use Eclipse
>>>> 3.4 and RAP 1.2.0, and it seems the NL pack is only for the Galileo
>>>> release, isn't it?
>>>>
>>>> Ralf.
>>>>
>>>>
>>>>> R. Heydenreich wrote:
>>>>>> Hi all,
>>>>>> the I18N tutorial for RAP only explains how to internationalize
>>>>>> the own
>>>>>> code. But I have to i18n the JFace output (more special, I have to
>>>>>> translate the WizardPage buttons). I tried to solve this problem with
>>>>>> creating my own properties file dialogmessages_de.properties in
>>>>>> org.eclipse.jface, but it didn't work (despite I've set the correct
>>>>>> target locale). How can I achieve this?
>>>>>>
>>>>>> TIA,
>>>>>> Ralf.
>>>
>
>
|
|
|
Goto Forum:
Current Time: Sat Oct 05 16:03:44 GMT 2024
Powered by FUDForum. Page generated in 0.04553 seconds
|