| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (24 out of 48)

language

Specifies a window-specific G2 natural language facility or language-translation item for the g2-window item that is associated with the G2's window.

Platforms

All platforms

Syntax

language-name: Name of a standard G2 language facility (that is, english, japanese, korean, or russian), or name of an existing language-translation item (francais, italiano, or any other symbol) in the G2's KB.

Equivalent Environment Variable

None

Description

G2 can specify a window-specific language. Use the -language option to specify a standard G2 natural language facility (english, korean, japanese, or russian) or a language-translation item in the G2's KB. This determines how G2 presents system-defined menu choices, Text Editor buttons, and so on, in your G2's window.

Using the -language option sets the G2-window-specific-language attribute in the g2-window item of the local window. If you don't specify the -language option, the default value of the G2-window-specific-language attribute of this g2-window is none, and the language-translation item used to translate text in your G2's window is determined by the current language of the G2's KB.

When you specify -language, the option takes effect only if you also specify a KB with the -kb option. Otherwise, the default language of the subsequently loaded KB will override the value of -language.

Example

This command starts a secure G2 process, specifying a language and other information necessary to start the process. The command assigns the symbol korean into the G2-window-specific-language attribute of the g2-window:

The result is that your G2 displays the text of G2 system-defined menu choices, and so on, based on the language-translation item named korean found in the G2's KB.

| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (24 out of 48)

Copyright © 1997 Gensym Corporation, Inc.