Internationalize Your Integrated Application
These parameters can be internationalized:
-
The description of the integrated application.
-
The title and description of the integrated application when it appears as a component on a project page.
-
The name and description of any configuration parameter.
-
In the XML application configuration file, select the values for which you want to provide localized content.
-
Inside the
bundlestag, create abundletag identical to the default English bundle tag. (Keep theenbundle.) -
Change the value of the
localeattribute of the newbundletag to the language you are going to provide. The value for each of the internationalized tags must start withl10n.For example:
<bundles>
<bundle locale="en">
<key name="l10n.application.description">My Test App</key>
<key name="l10n.blogname.title">Blog Name</key>
<key name="l10n.blogname.description">Please provide a name for the Blog. This appears on all blog pages</key>
........
</bundle>
<bundle locale="ja"> <!-- Japanese Language Translations -->
<key name="l10n.application.description">My Test App</key>
<key name="l10n.blogname.title">Blog Name</key>
<key name="l10n.blogname.description">Please provide a name for the Blog. This appears on all blog pages</key>
........
</bundle>
</bundles>
4. Save the application configuration file.