Dashboard > UDIG Developer Guide > ... > 4 Working with Eclipse RCP > 00 Working with Plugins > 2 Plugin Setup > Plugin Internationalization
Plugin Internationalization Log In | Sign Up   View a printable version of the current page.

Added by Jive , last edited by Emily Gouge on Aug 12, 2008  (view change)
Labels: 
(None)

The file plugin.properties is used to internationalize the plugin.xml file. Since some of these descriptions will be showing up in client code.

As an example the view name is supposed to be "a translatable name that will be used in the UI for this view".

How to acomplish this?

Change the name to a %LocalRegistry (in this example)

Cerate a plugin.properties file with an entry for LocalRegistry.

LocalRegistry=Local Registry
Provider=Refractions Research, Inc.

You can use this trick to manage many aspects of the plugin.xml file including schema descriptions.

To internationalize your source code, see Plugin Internationalization with ResourceBundles.

Problems?

With Eclipse 3.4 if your strings are internationalized and the plugin.properties file exists; however they are not showing up as internationalized ensure that the MANIFEST.MF has the following line.

 Bundle-Localization: plugin
Powered by a free Atlassian Confluence Open Source Project License granted to uDig. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators
User-friendly Desktop Internet GIS