Resource key editor overview

The Infor Expense Management application uses the resource keys instead of using the hard-coded display strings. Each resource key has a corresponding display value, and the key-value pairs are saved in the alco_localization_string database table. 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 values are displayed.

The Resource Key Editor is available to the Infor Expense Management Professional Services and the system administrators.

You can also modify the resource keys directly for groups, corporate data, or business rules in the Infor Expense Management System Administration Tool application. The fields that use the resource keys display the resource value in the field and the resource code as a label in the field.

The 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 Expense Report application bundle begin with @@ER prefix and all the keys in the Custom bundle begin with @@CST. The resource keys with @@ 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 in the fields that use the resource keys.
  • 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 generate resource keys automatically when creating a new corporate data. The default value is true.
  • i18n.showImportExportButtons: Determines whether to display the Resource Key Editor's Import and Export options. The default value is true.
  • i18n.showResourceKeyInfo: Determines whether to append the resource key to the parameter's display string. This provides a debugging mode to determine which resource key is used for a given label in the Infor Expense Management application. The default value is false.

See the Infor Expense Management System Administration Tool User Guide - Application Parameters.

Database

The alco_localization_string table with localized strings is limited to 2040 characters. The database saves the non-English characters rather than the Unicode encoding. For example, ñ rather than \u00f1. All the customers must configure the database to support the non-English characters.