Information
Space banner This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

Adding Language to Agent Interface Files


To add a new language to the Agent Interface you need to define the new language in a file, as well as an image of a flag that represents it. To add a language:

  1. Go to [BMC Installation Directory] /ui/common/images and check if there is a matching LANG_YourLanguageAbbreviation.png file for your language.
    • If there is no such file, create a new .pngfile of the flag representing your language with dimensions of 16 x 11 pixels.
  2. Open the [BMC Installation Directory] /ui/common/scripts/menu_items.js file in a text editor.
  3. Replace the three variables in the following line with your information and add it after line 29: 


    [
    <img style=/"position:absolute;top:5px;left:7px;/" src=/"/common/images/LANG_<varname>YourLanguageAbbr</varname>.png/" width=16 height=11>
    <div style=/"position:absolute;top:4px;width:46px;left:27px;/" align=left><varname>YourLanguage</varname></div>',szURL + '_language=<varname>YourLanguage</varname>']

     To add Chinese as a new language, replace YourLanguageAbbr with CNand YourLanguage with Chinese.

  4. Save the file and close it.

You included the new language with its matching flag. In the Agent Interface the new language can be selected, but the translations are still missing. In the next step you add the translations to the database.

 

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

BMC Client Management 12.1