Skip to main content

ImportLocale

Import a custom locale.

Synopsis

[Actions]
ImportLocale:FileName=Filename,Flags=Flag

Where you substitute Filename with the full file path and file name of the desired XML file.

Where you substitute Flag with 1 to load only subtables, with 2 to load only tables, with 4 to load the locale only, and 7 to load subtables, tables, and the locale.

Description

ImportLocale imports a custom locale from an XML file. InterSystems IRIS® imports the locale when processing the [Actions] section during a configuration merge. During the merge, InterSystems IRIS runs Config.NLS.Locales.ImportAll()Opens in a new tab to import the locale defined by ImportLocale.

Changing this Operation

This operation is designed to be used during a configuration merge. You can change ImportLocale by editing the merge file in a text editor (as described in Editing the Active CPF).

See Configuring National Language Support (NLS) for more information about configuring national language settings.

See Using System Classes for National Language Support for more information about creating custom locales and the appropriate naming convention.

FeedbackOpens in a new tab