Enabling Languages and Locales
By default, Web Central enables only the single language that matches the server's operating system locale. For example, if your locale is “fr-FR”, Web Central enables French. Loading fewer languages at start-up speeds the start-up process.
Out-of-the-box Localized Archibus
Without customization, Archibus can appear in these languages if the locale is set to these languages:
- French (fr-FR
- Italian (it-IT)
- German (ed-DE)
- Spanish (es-ES)
- Dutch (nl-NL)
- Chinese (zh_CH Simplified Chinese or zh_Tw Traditional Chinese)
- Japanese (ja_JP)
Enable Languages
You can enable multiple languages if you have users that speak different languages or if you wish to switch between languages. To do so:
- Edit the WEB-INF\config\context\compatibility\afm-config.xml configuration file.
- Change the “enabled” attribute for each language that you want to support to “true” rather than “auto.”
- Additionally, you may need to do the following:
-
If you are using Web Central, set the Locale option for each user to the proper language using the System / Archibus Administrator / Add or Edit Users form. When each user logs in, Web Central will appear in the language specified for this user. Users can also set the Locale from the My Profile command .
- If you are using the Smart Client, use the Preferences command within Smart Client to change the preferred language, then restart the Smart Client. The program will now appear in the language you chose.
- If you are using Chinese on Microsoft SQL Server, remember you need to load the Chinese version of the database (e.g. Schema\mssql\MsSql_Schema.MDF or Projects\Hq\mssql\hq_zh-cn.mdf rather than
schema.mdforhq.mdf). You do not need to do this for Oracle as this database contains all languages in UTF-8 encoded form.
Enable Locales
All users can change their Locale from their My Profile form. For instance, they can change from "English (United States)" to "English (United Kingdom)", "French (France)", or "French (Canadian)". Doing so lets the user choose both the language they prefer as well as the other locale conventions, such as the area, date, and default local currency.
To enable a locale, the Archibus Administrator must enable the language corresponding to the locale in web-inf\config\context\compatibility\afm-config.xml . For instance, to enable the "French (France)" [fr_FR] and "French (Canadian)" [fr_CA] locales, the Archibus administrator must set the French (fr) entry in the <languages /> tag to enabled="true" .
If you need a locale for a language that you do not have installed, such as "Korean" [ko_KR], you can still enable that language. Any or all missing strings will just default to their English equivalent.
Archibus ties together locale and language information in this way so that the Archibus Administrator can centrally administrate consistent language and locale features for all users. With these features, users can have the language and locale they prefer with one selection; however, all users -- regardless of language, locale, locale date format, local units, etc. -- can enter data that correlates consistently on the central server.
See also: Adding Languages and Locales to the afm-config.xml File
