language.kl, described in Using Language Translations for Localization.
japanese.kl, described in Using the Japanese Language Facilities.
korean.kl, described in Using the Korean Language Facilities.
Current-language attribute of the Language Parameters system table. The default is english.
To change the current language:
Enter a language other than english in the Current-language attribute of the Language Parameters system table, or conclude a new value programmatically.
The current language does not affect existing symbol and text values entered in supported languages. For example, if you set the current language to
russian, and create messages in cyrillic, or name items using cyrillic characters, changing the current language to japanese does not alter the cyrillic messages and item names that you entered.
japanese
korean
russian
Current-language attribute to korean immediately localizes the facility buttons, but does not translate the menu choices until you load the korean.kl file. Loading the appropriate KB file localizes the G2 menu choices as follows:
User-defined localizations can be added through the use of the language translation facilities as described in Localizing Menu Choices and G2 Facilities.
Two command line options can affect the current language:
-default-language
-language
-default-language command line option and its corresponding environment variable, G2_DEFAULT_LANGUAGE, is only for G2. You can set a default language only by starting G2 with the -default-language command-line option.
-default-language command when an environment variable exists for a different language, the command line option overrides the environment variable. english. Loading a KB with a different current language or changing the system table's Current-language attribute overrides the default language. The purpose of the default language command line option is to set a common language for the entire G2 session, which can be overridden as necessary. For example, if multiple developers accessing a KB through Telewindows are French, you could start G2 with the default-language
francais. If one Telewindows user wanted to use the German menu options, that user could change the language to German in his or her window in the G2 Login dialog. Changing the language of a Telewindows connection is described in Supporting a Window-Specific Language.
Setting a Language for the Current Window
The -language command line option, applicable to both G2 and Telewindows, affects only the current window, which is the local window for G2. It does not change G2's default language or the KB's current language. -language option with the language they chose. Supporting Multiple Languages in a KB
If your KB requires multiple language support, you can provide it by changing the Current-language attribute each time you need to enter text in that language. conclude action to change the value of the Current-language attribute to a different language. The text of the Italian action button is shown, along with the sample Main Menu, demonstrating how a menu appears when the current language is Italiano.
![]() |