The features described in this topic are obsolete
and should not be used in new IDL code.

MSG_CAT_COMPILE

The MSG_CAT_COMPILE procedure creates an IDL language catalog file.

Note
The locale is determined from the system locale in effect when compilation takes place.

Syntax

MSG_CAT_COMPILE, input[, output] [, LOCALE_ALIAS=string] [, /MBCS]

Arguments

input

The input file with which to create the catalog. The file is a text representation of the key/MBCS association. Each line in the file must have a key. The language string must then be surrounded by double quotes, then an optional comment.

For example:

VERSION      "Version 1.0"      My revision number of the file

There are 2 special tags, one of which must be included when creating the file:

APPLICATION (required)

SUB_QUERY (optional)

output

The optional output file name (including path if necessary) of the IDL language catalog file.

The naming convention for IDL language catalog files is as follows:

idl_ + "Application name" + _ + "Locale" + .cat 

For example:

idl_envi_usa_eng.cat 

If not set, a default filename is used based on the locale:

idl_[locale].cat 

Keywords

LOCALE_ALIAS

Set this keyword to a scalar string containing any locale aliases for the locale on which the catalog is being compiled. A semi-colon is used to separate locales.

For example:

MSG_CAT_COMPILE,'input.txt', 'idl_envi_usa_eng.cat',$ 
LOCALE_ALIAS='C' 

MBCS

If set, this procedure assumes language strings to be in MBCS format. The default is 8-bit ASCII.

Version History

Introduced: 5.2.1

See Also

MSG_CAT_CLOSE, MSG_CAT_OPEN, IDLffLanguageCat