Resource key editor overview
Instead of using the hard-coded display strings, the Expense Management applications use the resource keys. Each resource key has a corresponding display value, and the key-value pairs are stored in the database table alco_localization_string. You can export the resource keys to the properties files and send to the translators to internationalize the product. During the runtime, the resource keys are loaded, based on the user’s locale, and the appropriate display values are shown.
The Resource Key Editor is available to both the Expense Management Professional Services and the system administrators.
In addition to the Resource Key Editor, you can change the resource keys directly for groups, corporate data, or business rules in the Infor SAT. Fields that use resource keys display the resource value in the field, and the resource code as a label under the field.
Resource keys are grouped into resource bundles. Some bundles use a naming convention where the prefix matches the bundle name. For example, all the keys in the Infor ER application bundle begin with @@ER prefix and all the keys in the CUSTOM bundle begin with @@CST. Only resource keys with an @@ prefix can be used for groups, corporate data, or business rules.
The application parameters that support the Resource Key Editor tool are:
- i18n.showI18NField: Determines whether to display the resource codes as a label, under the fields that use the resource keys, in Infor SAT.
- i18n.localeList: A comma-separated list of the supported locales. If a user’s locale is not in this list, the application determines and uses the closest matching locale available in the list. By default, this parameter uses these values: en_US, de, es, fr, it, ja, ru, sv, sk, pt_BR, or zh_CN.
- i18n.generateKeysEnabled: Determines whether to automatically generate resource keys when creating new a corporate data. The default value is true.
- i18n.showImportExportButtons: Determines whether to display the Resource Key Editor's true. and buttons. The default value is
- i18n.showResourceKeyInfo: Determines whether to append the resource key to its display string. This provides a debugging mode to determine which resource key is used for a given label in the Expense Management application. The default value is false.
For more information on application parameters, see the Infor Expense Management System Administration Tool User Guide - Application Parameters.
Database
The alco_localization_string table has localized strings limited to 2040 characters. The database stores the non-English characters rather than their Unicode encoding. For example, ñ rather than \u00f1. All customers must configure their database to support non-English characters.