Edit the Languages Table

Use the Edit Languages Table (lang_lang table) task to edit a language, add a language record if you are translating Archibus into a new language, delete languages, and to set the Is Default Language field for a language.

About the Language Selection

Localization databases have a format that can contain all languages in one database; however, Archibus typically uses one database per language. The Is Default language field specifies which language is the default for the current database, so that the user doesn't have to set this every time they log in.

From console views for reading, writing, importing, or exporting tables and files, you select the target language. If a record in the Languages (lang_lang) table has the Is Default Language? field set to Yes, that language is always used. Otherwise, you select the language, and that language is then set in JavaScript memory and shared with the other consoles, so you do not need to reselect the language for each view.

Setting a Language as the Default

To make a language the default language for the database:

  1. Select the System / Localization Manager / Edit Languages Table task.
  2. Select the language from the Languages list.
  3. Select Yes for the Is Default Language? field.
  4. Click Save.

Adding a New Language

Note: If you are adding a new language that is not currently supported, you must add the language and locale to the afm-config.xml file before extracting the strings. If you omit this step, the language is not available in the Sign-In Page selection list on the sign-in screen. See Adding Languages and Locales to the afm-config.xml File.

To add a new language:

  1. Select the System / Localization Manager / Edit Languages Table task.
  2. Click Add New.
  3. Enter the name (unique identifier) for the language in the Language field.
  4. To map the language to a database extension, select the language from the Field Mapping list.
  5. To make the language the default language for the database, select Yes from the Is Default Language? list.