The MSG_CAT_COMPILE procedure creates an IDL language catalog file.
| Note |
MSG_CAT_COMPILE, input[, output] [, LOCALE_ALIAS=string] [, /MBCS]
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)
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
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'
If set, this procedure assumes language strings to be in MBCS format. The default is 8-bit ASCII.
Introduced: 5.2.1
MSG_CAT_CLOSE, MSG_CAT_OPEN, IDLffLanguageCat