LOAD-LANG
Loads a message class into the active language table (Denationalisation.).
Command Class
TCL-II command.
Syntax
LOAD-LANG file-name item-list {(options}
Syntax Elements
file-name is the message class file containing the item-ids (message class numbers) that are to be loaded into the language table.
item-list is the SELECTed list of message class numbers to be loaded. Enter an asterisk (*) to specify all items.
Options
V Verifies the loaded messages against the items present in the language tables, but does not load the language.
Prompt
The following prompt is displayed:
Language number or name:
Enter either the number that represents the destination language or the character string that describes the language.
If you do not know either the language number or the language name, enter a question mark (?). This displays a list of all the available languages.
Comments
Denationalisation provides the option of specifying a language, other than English, to use for conversing with Reality.
The ERRMSG file contains system error and informational messages which are displayed when there is a problem or a special situation. Denationalisation software has the facility to translate these messages into a language other than English.
Each language supported on your database has a different message class file, for example ENGLISH, FRENCH or GERMAN. System messages within the class files are grouped into classes. Each class is an item containing all the messages (as attributes) for a particular function - for example, EDITOR, ENGLISH, etc. LOAD-LANG is used to load one or more of these classes in a particular class file to provide system messages in your Reality environment in a particular language.
This command supplies the same functionality as option 7 (Load a message) on the Language table maintenance menu which is displayed automatically when you log on to the DENAT account.
If this is a new language, you must first define it as a new language using option 8 (Define a new language) on the Language table Maintenance menu.
When the language is loaded, Reality displays the message:
[9100] 'CLASSn' loaded.
Example
:LOAD-LANG ENGLISH *
Language number or name:ENGLISH
[9100] 'CLASS12' loaded.
[9100] 'CLASS6' loaded.
[9100] 'CLASS7' loaded.
[9100] 'CLASS13' loaded.
[9100] 'CLASS14' loaded.
[9100] 'CLASS8' loaded.
[9100] 'CLASS15' loaded.
[9100] 'CLASS9' loaded.
[9100] 'CLASS16' loaded.
[9100] 'CLASS0' loaded.
[9100] 'CLASS1' loaded.
[9100] 'CLASS2' loaded.
[9100] 'CLASS3' loaded.
[9100] 'CLASS10' loaded.
[9100] 'CLASS4' loaded.
[9100] 'CLASS11' loaded.
[9100] 'CLASS5' loaded.