Localizing resource bundles
The user interface components in Business Intelligence use resource bundles that contain all the static literals displayed throughout the application.
After you perform the translation into multiple languages ensure that you create a folder corresponding to each of the locales and the corresponding bundle files. The folder name must be in the format <language>_<locale>. For example, if a locale has been created for Japan in Japanese language, a folder named ja_JP must be created. In addition, literals used in the customized screens have their own resource bundles and must also be considered during the localization process.
A resource bundle is a file that consists of the resource bundle keys and the corresponding values. Each field in the user interface has a resource bundle key associated with it. The values pertaining to these resource bundle keys are translated as part of localization. To display the translated literal pertaining to a field in the user interface, the localized value of the key associated with the field is fetched from the bundle file.
Business Intelligence supports the following resource bundles:
- Menu: The menu resource bundle file enables the localization of menu entries by fetching the values from the sbibundle.properties file located in the Files\resources folder.
- Screen Literals and Messages: The bundle-index.properties file
is used to localize the following:
- Error and warning messages displayed on the user interface.
- Descriptions pertaining to labels, panels, and headings in the user interface.
- Dynamic data within a literal. For example, the user interface may have to display a literal that informs a user that an input value cannot exceed a certain number of characters, and that the number of characters is dynamic. In this case, if the maximum character length for a description is set at 428 characters, 428 is the value of the parameter. The corresponding bundle entry is defined as "b_MaxCharLengthExceeded":"The value cannot exceed {0} characters".
For more information about understanding the localizable components and data, refer to the Localizing Foundation.