I'm developing a RCP Eclipse-based application and it makes use of the Eclipse providing tool, p2, as of Eclipse 3.4 (Ganymede).
The thing is, this application must be fully in Brazillian Portuguese, and it already is, except for the p2-related UI. And that's what I need to translate. How can I?
This is where I've been:
- Added the "updateMenu.label", "actionSets.softwareUpdates.label"... labels to my plugin.properties. Didn't work. I found out that this was related to the previous providing mechanism (Update Manager).
- Found the "message.properties" file inside the "org.eclipse.equinox.internal.p2.ui.sdk" package. Then created a copy of it on the root of my plugin folder, left only two keys and translated them. Didn't work. I guess either this is not possible or the new file should be placed under another folder?
So, I ask, is this even possible?
I still have two options in mind:
- Create a package with the same name of the p2 one inside my plugin and place the properties there
- Add a sufix to the file and change the locale of the application (it hasn't been done anywhere on the code since all the other messages are in Portuguese and it's a single-language application
Any suggestions?
All the best
-Alvaro C.