Internationalization of eclipse plugins. [message #291140] |
Fri, 09 September 2005 06:31 |
Eclipse User |
|
|
|
Originally posted by: sibinjosk.tataelxsi.co.in
Hi All ,
I need to know how the internationalization of eclipse workbench
can be done.
My requirement is as follows,
while installing my product user can chooose between different
languages.
if the user selects a particular language, the plugin should use the
apropriate plugin.properties file. ie suppose the user has choosen french
then the plugin should use the plugin_fr.properties file. How to make this
work.
Thanks in advance for any help.'
Regards
sibin.
|
|
|
Re: Internationalization of eclipse plugins. [message #291145 is a reply to message #291140] |
Fri, 09 September 2005 10:49 |
Eclipse User |
|
|
|
Originally posted by: automatic.javalobby.org
Most of the internationalisation is handled automatically by the Java runtime libraries, which in turn are based on the user's settings. So the app will start up with whatever translation is set for the user automatically.
However, that may not be suitable in certain environments (such as when you're working in one at European companies which are typically bi- or tri- lingual). In this case, you can pass a flag to the startup of eclipse (or put it as a line in the eclipse.ini file)
-nl <locale> (OSGi)
equivalent to setting osgi.nl to <locale>
See http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/misc/runtime-options.html for the list of options you can have.
What you could then have is this entry being modifed by your own hand-rolled startup script, or more likely, installer.
|
|
|
Powered by
FUDForum. Page generated in 0.02884 seconds