maplocale(1M_XNX) (XENIX System Compatibility) maplocale(1M_XNX)
NAME
maplocale - (XENIX) convert Release 4 locale information to
different format
SYNOPSIS
maplocale -f new_format [-t territory ] [-c codeset ] SVR4_locale_name
DESCRIPTION
maplocale converts Release 4 locale information into a format
suitable for use with applications that require a different
locale format. Currently, only conversion to SCO UNIX/XENIX
format is supported, therefore, new_format must be XENIX.
The SVR4_locale_name must be the name of a valid locale, which
will be the name of one of the sub-directories in the
/usr/lib/locale directory.
Release 4 locale names use the form
language[_territory[.codeset]]. If the locale name does not
have the optional codeset or territory parts the -t and -c
options must be used to specify the territory and code set for
the locale.
SCO Specific Information
The converted data files will be placed in the directory:
/usr/lib/lang/language/territory/codeset
If an abbreviated Release 4 locale name is used, the file
/etc/default/lang will be updated and a line of the following
form added to it:
LANG=language_territory.codeset
EXAMPLES
To convert the Spanish locale which is stored in the ISO
8859-1 code set, use the command:
maplocale -fXENIX -tES -c88591 es
DIAGNOSTICS
All error messages should be self explanatory.
FILES
/usr/lib/locale
/usr/lib/lang
/etc/default/lang
Copyright 1994 Novell, Inc. Page 1
maplocale(1M_XNX) (XENIX System Compatibility) maplocale(1M_XNX)
Copyright 1994 Novell, Inc. Page 2