Skip to main content

Locale Definitions

Locale Definitions

From the Locale Definitions< page (System Administration > Configuration > National Language Settings > Locale Definitions), you can select a locale at the Select a locale drop-down and perform several actions. The drop-down is always set to the current locale when the page first displays.

  • Using the Use locale date/time/number formats for [current locale] drop-down, indicate whether or not you want to use the date, time, and number formats specified by the current locale. Note that this always applies to the current locale, not a locale you have selected in the Select a locale drop-down but not yet installed.

  • To view the details of a selected locale, click Properties. The next page displays the locale properties grouped into categories. For locales you have added, you can edit the fields and click Save to save these changes. You cannot edit the system locales provided with Caché. The properties are as follows:

    • Basic Properties

    • Date, Time, and Number Formats

    • Internal Tables — You have two options when editing the internal tables:

      • Edit Tables — You may select or delete a table from the list boxes by double clicking an item, or by selecting an item and then clicking > or < to move it from the appropriate list.

        Tables that require at least one entry are indicated by an asterisk (*); the other tables may be left empty.

      • Edit Defaults — You may choose the default from the values you enter in the Edit Tables function of the Internal Tables category.

    • Input/Output Tables — You can edit, add, or remove a table when choosing to edit this category.

      • To edit a table, click the table in the first list. The table name appears in the lower box. You can modify the values and click Save.

      • To remove a table, click the table in the first list. The table name appears in the lower box; click Remove. A confirmation box displays offering you the option to Cancel or OK the delete.

      • To add a table, click Add. The lower box has the Table field enabled and the Remove option disabled. You can enter a table name and enter the Output to and Input from fields.

      Click Save when you have made all your updates. If the save is successful, the updated list appears; otherwise, an appropriate error message displays.

    • Input/Output Defaults

    • Strings

  • To take further actions, click the following buttons:

    • Validate — Validates the selected locale, displaying an error message if the locale cannot be validated. This is useful when creating custom locales.

    • Copy — Creates a copy of the selected locale, which you can then customize. The name of the copy must contain four characters beginning with y and ending with 8 or w. The default description is Copy of %locale, where %locale is the selected locale name. When the copy is created, it is added to the Select a locale drop-down.

    • Export — Exports a locale to an .xml file. For example, you might export a custom locale you created and import it on another instance using the Import Locale page. The default name is loc_%locale.xml, where %locale is the selected locale. In addition, you can include the path of the export file; if you do not specify the path, the default location is install-dir\Mgr.

    • Install — Installs the selected locale as the current locale for the instance. An initial validation occurs; if it fails, an error message displays, otherwise you can continue with installation.

    • Load Table — Lets you load a table from the selected locale (the current locale or another) into memory from disk. Select a table type and then a table name from the list populated after you select the type. Click OK to load the table or Cancel to close the dialog box and return to the Locale Definitions page.

    • Delete — Deletes a locale. You can delete only custom locales; the button is disabled when a system locale is selected. You cannot delete the current locale even if it is a custom locale. You must confirm deletion of the locale before proceeding.

FeedbackOpens in a new tab