Resource Key Editor overview

Instead of using hard-coded display strings, Expense Management applications use 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 properties files that can be sent to translators to internationalize the product. During 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 Expense Management Professional Services and system administrators.

In addition to the Resource Key Editor, you can change resource keys directly for groups, corporate data, or business rules in 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 of keys in the Infor ER bundle begin with @@ER prefix and all of 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 or not to show 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 the user’s locale is not in this list, the application determines and uses the closest matching locale that is 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 or not to automatically generate resource keys when creating new corporate data. The default value is true.
  • i18n.showImportExportButtons Determines whether or not to show the Resource Key Editor's Import and Export buttons. The default value is true.
  • i18n.showResourceKeyInfo Determines whether or not to append the resource key to its display string. This provides a debugging mode so that you can determine which resource key is used for a given label in Expense Management. The default value is false.

For more information on application parameters, see the Infor Expense Management System Administration Tool User Guide Volume 3 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.