Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Cannot load the language pack in my RCP application
Cannot load the language pack in my RCP application [message #308018] Fri, 08 September 2006 16:08 Go to next message
Eclipse UserFriend
Originally posted by: bnegrao.gmail.com

Hi guys,

I'm trying to make the RCP application I'm developing to run in my
language (pt_br). When i run my application, all the dialogs continue to
show english strings like OK, CANCEL, APPLY, RESTORE DEFAULTS,
PREFERENCES, etc.

I think I installed the language packs on my classpath, as I should, but
it's not working.

What I did until now is, I downloaded the language packs for RCP SDK for
linux and windows:
http://download.eclipse.org/eclipse/downloads/drops/L-3.2_La nguage_Packs-200607121700/download.php?dropFile=NLpack1-ecli pse-RCP-SDK-3.2-win32.zip
http://download.eclipse.org/eclipse/downloads/drops/L-3.2_La nguage_Packs-200607121700/download.php?dropFile=NLpack1-ecli pse-RCP-SDK-3.2-gtk.zip

I extracted them, put installed them on my PDE target directory. Reloaded
the PDE to find those fragments.

I even imported the *nl1* jars to my rcp project and added them to my
plugin's classpath by following the hints given by PW on his post at:
http://dev.eclipse.org/newslists/news.eclipse.platform/msg48 366.html

But it's still not working. Any idea of how can I get this to work?

thank you,
bruno.
Re: Cannot load the language pack in my RCP application [message #308040 is a reply to message #308018] Mon, 11 September 2006 05:42 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

did you try to start you application with the -nl attribute ?

ex. in Windows : "eclipse.exe -nl fr" will start your eclipse in French

Nicolas

Bruno Negrao a écrit :
> Hi guys,
>
> I'm trying to make the RCP application I'm developing to run in my
> language (pt_br). When i run my application, all the dialogs continue to
> show english strings like OK, CANCEL, APPLY, RESTORE DEFAULTS,
> PREFERENCES, etc.
>
> I think I installed the language packs on my classpath, as I should, but
> it's not working.
>
> What I did until now is, I downloaded the language packs for RCP SDK for
> linux and windows:
> http://download.eclipse.org/eclipse/downloads/drops/L-3.2_La nguage_Packs-200607121700/download.php?dropFile=NLpack1-ecli pse-RCP-SDK-3.2-win32.zip
>
> http://download.eclipse.org/eclipse/downloads/drops/L-3.2_La nguage_Packs-200607121700/download.php?dropFile=NLpack1-ecli pse-RCP-SDK-3.2-gtk.zip
>
>
> I extracted them, put installed them on my PDE target directory.
> Reloaded the PDE to find those fragments.
>
> I even imported the *nl1* jars to my rcp project and added them to my
> plugin's classpath by following the hints given by PW on his post at:
> http://dev.eclipse.org/newslists/news.eclipse.platform/msg48 366.html
>
> But it's still not working. Any idea of how can I get this to work?
>
> thank you,
> bruno.
>
>
Re: Cannot load the language pack in my RCP application [message #308054 is a reply to message #308040] Mon, 11 September 2006 10:54 Go to previous message
Eclipse UserFriend
Originally posted by: bnegrao.gmail.com

Nicolas Bihan wrote:

> Hello,

> did you try to start you application with the -nl attribute ?

> ex. in Windows : "eclipse.exe -nl fr" will start your eclipse in French

Hi Nicolas, I just discovered what was going wrong.

The *nl1* fragments were not being exported to the RCP product ZIP file.

To set them to be exported I had to go on the Package Explorer -> Click on
the "XXX.product" file -> Configuration tab. There is a "Plugins and
Fragments" box where I had to add each language pack fragment
individually. Save the configuration.

After that, the language packs were exported and everything worked.

thank you,
bruno
Previous Topic:Eclipse logging and debugoptions
Next Topic:accessing an image file in plugin.xml
Goto Forum:
  


Current Time: Sun Jun 08 17:20:33 EDT 2025

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

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

Back to the top