HP-UX Reference (11i v2 03/08) - 1M System Administration Commands A-M (vol 3)
g
geocustoms(1M) geocustoms(1M)
NAME
geocustoms - configure system language on multi-language systems
SYNOPSIS
geocustoms[-l locale]
DESCRIPTION
The
geocustoms utility manages default selection and retention/removal of multiple languages
installed on ignited systems. The geocustoms program is executed at first boot on ignited (Instant Igni-
tion) systems with multiple languages available. On subsequent sessions, the command
/usr/sbin/geocustoms
starts geocustoms.
Options:
-l locale Sets the LANG variable (and all other appropriate dependencies, if applicable) to
the value of locale . If the locale argument is not a valid option for that system, the
User Interface (UI) will appear as if the option had not been used.
An additional locale value can be used in this context;
SET_NULL_LOCALE
can be the argument to the
-l option, the result of which will be setting locale variables to
NULL by default. A null locale will allow
programs to execute without using localized message catalogs. This can increase system performance. All
HP-UX messages appear in English if the locale is set to
NULL.
EXTERNAL INFLUENCES
Environment Variables
geocustoms writes default values to system configuration files regarding the following environmental
variables: LANG, LC_ALL, LC_CTYPE, LC_COLLATE, LC_MONETARY, LC_NUMERIC, LC_TIME,
LC_MESSAGES.
International Code Set Support
Native Language Support (NLS):
If the standard message catalogs exist, then they are in
/usr/lib/nls. The geocustoms command
will use the standard message catalogs, if they are on the system. If the standard message catalogs are
not on the system, then the messages appear in English. (This is in accordance with standard NLS
behavior). All European languages for CDE will be supported. For HP-UX 11.11, this includes English,
French, German, Italian, Spanish and Swedish. All prompts and logging messages will be localized.
Locale (Language Variant) names are always localized in accordance with standard NLS behavior.
NLS is extended to allow multiple "fonts" on the initial screen at the same time through use of bitmapped
images.
RETURN VALUES
0 Successful completion and/or clean exit from program.
1 Program was unable to complete all objectives.
DIAGNOSTICS
Errors:
geocustoms writes to stderr, and to /var/adm/sw/lang.log.
Standard Output
geocustoms does not write to stdout.
Standard Error
geocustoms only writes to stderr in case of command line error or request for syntax. Any UI error
messages appear via an error window.
Logging
Both interactive and non-interactive sessions log summary events at:
/var/adm/sw/lang.log.
EXAMPLES
To set the default system language non-interactively to German:
Section 1M−−256 Hewlett-Packard Company − 1 − HP-UX 11i Version 2: August 2003