Go to main content

International Language Environments Guide for Oracle® Solaris 11.3

Exit Print View

Updated: December 2018
 
 

Legacy Locales

Although the default system locales in Oracle Solaris use UTF-8 encoding, a number of legacy locales can be used as well. You can install or remove legacy locales by using the nlsadm command, as described in Adding or Removing Locales by Using nlsadm.


Note -  The GNOME desktop environment supports only UTF-8 locales.

Legacy locale support is contained in the system/locale/extra package. The nlsadm command installs this package automatically when it is needed. When adding or removing locales by using pkg facet modification, install the package by using the following command:

# pkg install pkg:/system/locale/extra

To enable support for a specific language, set the corresponding locale facet to true. For example, to install the da_DK.ISO8859-1 locale and all of the da_DK locales, you would use the following commands:

# pkg install pkg:/system/locale/extra
# pkg change-facet locale.da=True
# pkg change-facet locale.da_DK=True