Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Translations work well in IDE but are missing after export
Translations work well in IDE but are missing after export [message #541338] Sun, 20 June 2010 10:15 Go to next message
Ricardo  is currently offline Ricardo Friend
Messages: 14
Registered: June 2010
Junior Member
Hi,

I had previously posted this question in the Babel forum ( http://www.eclipse.org/forums/index.php?t=msg&th=170247& amp;start=0&) but perhaps this is the appropriate place.

I've created a plug-in using Eclipse RCP 3.5 but needed to translate those English labels like Yes/No/Cancel/etc to my own language. In order to do that, I've downloaded the appropriate Babel language pack in

http://download.eclipse.org/technology/babel/babel_language_ packs/galileo.php

namely BabelLanguagePack-eclipse-....zip and unzipped the content to my eclipse/dropins folder. I launched the application again in Eclipse IDE and it worked, pratically all labels were translated to my language. However, when I exported my application using the export wizard and then launched it, the labels were in English again. I've tried copy/paste the content of the zip file into the directory where the application had been exported (although I wasn't sure if I was inserting exactly in the correct place) and I've tried adding the .jars as dependencies of my project but it didn't work.

Any help is appreciated. Thanks.

Ricardo Almeida
Re: Translations work well in IDE but are missing after export [message #541349 is a reply to message #541338] Sun, 20 June 2010 10:59 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
Hi Ricardo,

It seems like the babel plugins are not included in your product export. If
you look in your final product plugins directory, are they included?

--

Best Regards,
Wim Jongman
-- As a computer, I find your faith in technology amusing.
(Eclipse Old
Skool Quote Service)

> Hi,
>
> I had previously posted this question in the Babel forum
( http://www.eclipse.org/forums/index.php?t=msg&th=170247& amp;start=0&) but
perhaps this is the appropriate place.
>
> I've created a plug-in using Eclipse RCP 3.5 but needed to translate those
English labels like Yes/No/Cancel/etc to my own language. In order to do
that, I've downloaded the appropriate Babel language pack in
>
> http://download.eclipse.org/technology/babel/babel_language_
packs/galileo.php
>
> namely BabelLanguagePack-eclipse-....zip and unzipped the content to my
eclipse/dropins folder. I launched the application again in Eclipse IDE and
it worked, pratically all labels were translated to my language. However,
when I exported my application using the export wizard and then launched it,
the labels were in English again. I've tried copy/paste the content of the
zip file into the directory where the application had been exported (although
I wasn't sure if I was inserting exactly in the correct place) and I've tried
adding the .jars as dependencies of my project but it didn't work.
>
> Any help is appreciated. Thanks.
>
> Ricardo Almeida
Re: Translations work well in IDE but are missing after export [message #541395 is a reply to message #541338] Sun, 20 June 2010 20:29 Go to previous messageGo to next message
maarten meijer is currently offline maarten meijerFriend
Messages: 146
Registered: July 2009
Senior Member
Did you include the new stuff in your build.properties or .product file?

http://blog.eclipse-tips.com/2009/01/top-10-mistakes-in-ecli pse-plug-in.html
Under #5

Maarten

Ricardo schreef:
> Hi,
>
> I had previously posted this question in the Babel forum
> ( http://www.eclipse.org/forums/index.php?t=msg&th=170247& amp;start=0&) but
> perhaps this is the appropriate place.
>
> I've created a plug-in using Eclipse RCP 3.5 but needed to translate
> those English labels like Yes/No/Cancel/etc to my own language. In order
> to do that, I've downloaded the appropriate Babel language pack in
>
> http://download.eclipse.org/technology/babel/babel_language_
> packs/galileo.php
>
> namely BabelLanguagePack-eclipse-....zip and unzipped the content to my
> eclipse/dropins folder. I launched the application again in Eclipse IDE
> and it worked, pratically all labels were translated to my language.
> However, when I exported my application using the export wizard and then
> launched it, the labels were in English again. I've tried copy/paste the
> content of the zip file into the directory where the application had
> been exported (although I wasn't sure if I was inserting exactly in the
> correct place) and I've tried adding the .jars as dependencies of my
> project but it didn't work.
>
> Any help is appreciated. Thanks.
>
> Ricardo Almeida
Re: Translations work well in IDE but are missing after export [message #541463 is a reply to message #541349] Mon, 21 June 2010 09:34 Go to previous messageGo to next message
Ricardo  is currently offline Ricardo Friend
Messages: 14
Registered: June 2010
Junior Member
Hi Wim,

Wim Jongman wrote on Sun, 20 June 2010 06:59

It seems like the babel plugins are not included in your product export. If
you look in your final product plugins directory, are they included?


No, they are not, but I just copied them into that directory but it still doesn't work. Since the .zip contained the features folder as well, I copied this one too, next to the plugins folder in my final product directory but it didn't help either.

Kind regards,
Ricardo
Re: Translations work well in IDE but are missing after export [message #541472 is a reply to message #541395] Mon, 21 June 2010 09:53 Go to previous messageGo to next message
Ricardo  is currently offline Ricardo Friend
Messages: 14
Registered: June 2010
Junior Member
Hi Maarten,

maarten meijer wrote on Sun, 20 June 2010 16:29
Did you include the new stuff in your build.properties or .product file?


Yes, I think I did what I was supposed to do:

- in build.properties, I included the line "lib/eclipse/" under "bin.includes = ..." (because the content of .zip was extracted to a folder called lib, which is inside my project's folder)
- in .product file and under the Dependencies tab, I clicked "Add necessary plugins" and some (but only 20 of a total of 215 that came in the .zip) of the babel language plugins were automatically added.

Best
Ricardo
Re: Translations work well in IDE but are missing after export [message #541477 is a reply to message #541472] Mon, 21 June 2010 10:11 Go to previous message
Ricardo  is currently offline Ricardo Friend
Messages: 14
Registered: June 2010
Junior Member
Problem solved!

I appears that I also had to add "lib/eclipse/plugins" (the folder where the babel plugins are) to the classpath, in the Runtime tab. I don't understand why Eclipse can't have 1 place where we list all the dependencies of the application and that's it..

Thanks!

Ricardo
Previous Topic:Tableviewer hide lines at empty rows
Next Topic:IObjectActionDelegate + ISelction filtering
Goto Forum:
  


Current Time: Tue Apr 23 12:43:04 GMT 2024

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

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

Back to the top