Localizing BlackBerry device application projects
You can use the BlackBerry® Java® Plug-in to localize text strings without changing the application code. The BlackBerry Java Plug-in provides versioning support for creating resources in different languages. You can make changes to resource values in a native language, or original locale. Translators can identify language resources that have changed and that require translation.
A ResourceBundle object stores information and resources for a locale. A ResourceBundleFamily object contains a collection of ResourceBundle objects. An application can use a ResourceBundleFamily object to display the information in a language that is specific to the locale of the BlackBerry device user.
When you compile a BlackBerry device application , the BlackBerry Java Plug-in compiles each ResourceBundle object that you include with the application into a separate code .cod file. You can install the appropriate .cod files on a BlackBerry device along with the other files that the application requires.
- Creating resource files
- Create a resource file for a BlackBerry device application
- Specify the localization settings for a BlackBerry application project
- Verify the resource keys that are used in a BlackBerry device application project
- Locate all of the Java files that use a resource key
- Specify an original locale
- Mark a translation as correct or incorrect