A help volume's default language and character set can be defined as an entity in the helplang.ent file. To specify a complete locale name, combine the language and territory name with the character set name using this syntax:
language-and-territory-name.character-set-name
For a description of the helplang.ent file, see "helplang.ent File".
The following entity declaration specifies a complete locale name for the C standard language and the ISO-8859-1 character set:
<!ENTITY LanguageElementDefaultLocale SDATA "C.ISO-8859-1">
The same information could also be entered using two entity declarations as follows:
<!ENTITY LanguageElementDefaultLocale SDATA "C"> <!ENTITY LanguageElementDefaultCharset SDATA "ISO-8859-1">
To specify the German language using the same character set, use this declaration:
<!ENTITY LanguageElementDefaultLocale SDATA "de_DE.ISO-8859-1">
Or, to specify the Japanese language using the EUC-JP character set, use this declaration:
<!ENTITY LanguageElementDefaultLocale SDATA "ja_JP.EUC-JP">
If the locale is not specified in the helplang.ent file, then the value is derived from the value of the LANG environment variable.