Creating Localization Files


Localization files are text files with the extension .locale . To add a new language you need to create three new .locale files. To create the new .locale files:

  1. On the device on which the Console is installed go to <BMC Installation Directory>/ui/console/jws.
  2. Open the NumaraFootprintsAssetCore.jar file with a file archiver such as WinZip or WinRAR.
  3. Extract its locales folder to the jws folder.
  4. In the NumaraFootprintsAssetCore.jar file delete the locales folder and close it.
  5. Open the locales folder and add the following line to each <Language> .locale file:

DB_LANGUAGE_NEWLANGUAGE=LanguageValue To add Chinese as a new language add: DB_LANGUAGE_CHINESE=Chineseto English.localeor DB_LANGUAGE_CHINESE=Chinoisto Francais.locale.

Language Valueis the value that will be displayed among the language options in the Preferences dialog, from which you select the language of the Console .

  1. Duplicate a <Language>.locale file and rename it so that it matches EnumValue of your new language that you added to the database.To create a Chinese .locale file rename it to Chinese.locale.
  2. Repeat the last step for <Language>Params.locale and <Language>_GuidedHelp.locale .If you don't create three new .locale files, the english .locale file will be used in place of the missing file.
  3. Translate all translation values in the files (the expression to the right of the equal sign (=).
  4. To verify your translations, launch a Console and select your newly added language from the Language drop-down list in the Preferences dialog.
     The Console displays in your new language.

You created the three required .locale files and localized the Console to a new language.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*