Adding Languages to the Database


All available languages for localization are in a specific database table called Enumeration . When you want to add a new language to the Console , you must add a new entry to the table. To add a new entry:

  1. Copy the following command and replace the four sample values in the second line with your information:


INSERT    INTO Enumerations (EnumID, EnumGroup, EnumName, EnumValue)
        VALUES (<userinput>11905, 'AvailableLanguages', '_DB_LANGUAGE_NEWLANGUAGE_',   'NewLanguage'</userinput>);
                            

The four expressions represent:

Expression

Value

Information

EnumID

11905

Unique identifier for any option in the database. You can use any value between 11950 to 11999. If you add more than one language option make sure to use different EnumIDs.

EnumGroup

AvailableLanguages

Type of the enumeration. In this case the value must always be AvailableLanguages.

EnumName

_DB_LANGUAGE_NEWLANGUAGE

Keyword for the new language, for example, _DB_LANGUAGE_CHINESE.

EnumValue

NewLanguage

Name of the language ( for example, Chinese). Do not use special characters such as ç orñ.

  1. In the Enumeration table of your database execute the modified command.

The new language is added to your database. In the next step, you add a .locale files for your new language which contain the translations.

 

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

BMC Client Management 12.2