|
These notes addresses the following topics:
Using the l10npkgadd script
Locales are added to Solaris packages by using the
pkgadd command. To ease the process, you can use the
l10npkgadd script, available at
http://sun.com/developers/gadc/faq/l10npkgadd.csh
The l10npkgadd script will check and appropriately
add the packages to your current system. The script will not install
packages with a name that already exists on the system. The list of
packages can be copied from the lists in the following sections and
pasted to the command line of the script.
To use this script:
- Copy the
l10npkgadd.csh script to your system.
- Make the script executable.
(chmod 755 l10npkgadd.csh)
- Change directory to the location where localization packages exist.
- Become super-user.
- Run the script with the package names.
Locale naming conventions
The Solaris[tm] locale naming follows this XPG convention:
-
language[
_territory][.codeset][@modifier]
where
Refer to the ISO 3166 Maintenance Agency web site for more
information on ISO 3166:
http://www.din.de/gremien/nas/nabd/iso3166ma/
BCP packages
If you're adding not only one or more of Japanese locales but
also other full locales, it is possible to have a conflict between
Japanese BCP packages and those in other locales you may choose to
install. These are typically named SUNW?bcp and
SUNW??bcp -- for example, SUNWcbcp and
SUNWcwbcp for the Simplified Chinese locale. In that
case, if you reboot your system, you will see continuous warning/error
message at your console indicating conflicts. To fix this problem,
simply remote login to your system, and remove all other locales'
BCP packages but keep the Japanese BCP packages. Or, better, just
do not install any other SUNW?bcp or SUNW??bcp
except SUNWjbcp and SUNWjwbcp packages
for Japanese locales.
This is applies to the SPARC platform.
The x86 platform doesn't have any BCP packages.
Impact of missing packages
Depending on your CD/netimage medium, it is possible that one or
more packages listed in a
locale package list
are not available on your medium. If this should occur usually it
will not affect the essential enabling packages. There may only be
a lose of certain translated messages which will not effect the overall
locale-specific operations in your system.
|