Localization

Applications may be internationalized and localized for different countries or regions by taking the following steps:

  • configuring a list of supported languages

  • describing unique text resource IDs used by the application

  • providing value of every text resource ID in every supported language

  • referring text resource IDs from within the application itself

If an Application is properly internationalized, it will be localized according to the local Iotellect Server language once deployed on a specific server.

Configuring Localization

Localization is set up by configuring the following application properties:

Field Description

Field Name

Languages. List of languages supported by the application.

languages

Dictionary. Table defining resource constants to be used by the application, and their translations to every supported language.

textResourceBundle

These properties may be accessed via the Localization variable.

Referring Localized Resources

It's possible to refer to text resource IDs from inside the textual descriptions of application Resources by using the $R{resourceID} pattern. The resourceID here is any text resource ID added to application's Dictionary. Relevant localizable properties include Resource Description, Context Description, Category, Subcategory, and Group Description.

Certain resource types can refer to text resource IDs as well. This is also done by using the $R{resourceID} pattern.

Was this page helpful?