SubText plugin - Eclipse - Handling Translated Legal Files Anonymous - Aug 09, 2004 - 03:20 AM Post subject: Eclipse - Handling Translated Legal Files
Hi,
I'm currently working on internationalization (I18N) of a product that acts as a plug-in for IBM's Eclipse. I need to know how Eclipse picks up the legal files like "Terms and License Agreement" from its install directory.
You can access this file by opening Eclipse and selecting Help > About Eclipse Platform > (Eclipse Icon) > More Info. The Agreement file opens in a browser and you can see from the address bar that the file is picked from the "...\eclipse\features\org.eclipse.emf_1.1.0\" directory.
For the purpose of I18N, we create language packs that contain only the translated files in locale-specific folders. In this case, for the "...\features\org.eclipse.emf_1.1.0" directory, I'm expected to create a language pack directory e.g. "...\features\org.eclipse.emf.nl1_1.2.0", and place the translated Agreement file there.
But, after creating the language pack, when I select Help > About Eclipse Platform > ..., and click "More Info" button on the dialog, again the non-translated file from the main directory is picked! The Eclipse dialog does not understand that there is a language pack with translated files.
Can you suggest a way that can resolve this problem? All I need is - when I click the "More Info" button on the Eclipse dialog, the dialog should pick the Agreement file from the language pack.
Thanks!
Aravind
channingwalton - Aug 11, 2004 - 04:25 AM Post subject:
Aravind, I'm sorry but I don't know how to do this. I suggest you post on the plugin design forum or in the eclipse newsgroups for an answer.