Manage language and locales
Create and manage the languages and locales of your censhare system and applications. Enable right-aligned text display for right-to-left writing systems.
Context
System languages are configured in the Master data/Languages table of the censhare Admin Client. Applications access the Languages table. Assets and asset properties can store a language attribute.
Prerequisites
None
Introduction
censhare supports multiple languages and locales for modules, applications, and asset data. You can create new languages or locales and set them for specific applications. In the language definition, you can map the selected language to the corresponding application language. For right-to left (RTL) languages like Arabic and Hebrew, you can enable right-aligned text display.
Language codes and locales
Languages are identified by two-letter ISO language codes. You can use locale identifiers to create a language variant. Applications use standard language/locale keys.
Open and browse the Languages table
Log in to the censhare Admin-Client.
Open the Master data/Languages table. The language table displays all available languages and modules and applications that are available in a specific language.
To filter the table, select a filter item (for example: Name) and enter a filter term (for example: French).
Create and edit languages
To add a new language, in the toolbar of the language table, click the Plus-icon. The Create new language dialog displays.
To edit an existing language, double-click the desired entry in the table.
Note: Entries that are marked as Locked are defined in the censhare-Server/app/config/insert-data.xml module. These entries can only be edited in Admin mode.
Enter or edit the entries as described in the language options table below.
Confirm your edits with OK.
In the Language definition, ensure that you select the correct ISO code. Usually, there are several country-code variants for one language. For a mapping of country codes and locales, from the menu, select Admin - Show cached_tables - java-locale - XML logs.
Enable right-to-left language support
Right-aligned text display and editing is needed for right-to-left writing systems such as Arabic and Hebrew. Right-to-left (RTL) support is available censhare Web. When enabled for a language, users can display and edit right-aligned text. The following applications support RTL display and editing: Content editor display, editing and HTML & PDF previews, localization of asset properties, text block tables in Product assets.
For further information, see Right-to-left support in censhare Web.
As administrator, you have to enable RTL support:
In the Admin Client, in the Master data/Languages table, check whether the appropriate language is already defined.
If not, create a new language.
If yes, double-click the row with the respective language.In the Edit language dialog, for Writing system, select Right-to-left.
Confirm your edits with OK. The language table is updated with your edits. Check the Right-to-left option at the end of the language table.
When users in one of the supported applications display or edit text in a language with RTL support enabled, the text is right-aligned. Users can enter and preview the text accordingly.
Language options
The following options are available for language definitions:
Option | Description |
---|---|
Enabled | Defines if the language is enabled in the censhare system. |
Locked | Defines if the language definition can be edited here. If Locked, the settings are defined in the censhare-Server/app/config/insert-data.xml module. You can only view them here. |
ID | Enter a unique ID of the language. Use the standard 2-letter ISO-codes. For example: "en" or "en-US". |
Name | Enter the name of the language. The name is visible in all defined system languages. |
Description | Optional. Descriptive text for the language in all defined system languages. The description is not visible in the language table. |
Database | Select the table suffix for language-specific database columns. When you define a new language for the database, further configuration is necessary. |
Adobe InDesign | Select the language key for Adobe Creative Cloud. |
WebCMS | Select the language key for your Online Channel, if applicable. |
Client | Select the user interface language of all censhare clients: censhare Client, censhare Admin-Client, censhare Web. |
Translation memory | Select the language ID for entries in the translation memory. |
Spell check | Select the language key for the native censhare spell-checkers that are used in the censhare editors. |
Full-text search | Select the language that is used in the censhare fulltext-search to recognize word stems and stop-words. |
Domain | Set the first domain for the language. |
2nd Domain | Set the second domain for the language. |
Right-to-left | Enable right-aligned text display in the Content editor and for translation of properties. |
Add languages to Master data and user interface
When setting up your censhare system, you can add localized keys for all master data. For example, add localized names for features, asset types, asset relation types. By default, only English (EN) and German (DE) database schemas are enabled.
To enable more predefined user interface languages, or to add a custom user interface language to the database, additional configuration is required.
Result
You know how to create language definitions. You know how to edit existing language definitions for various censhare applications. You know how to enable Right-to-left script support.