International Language Environments Guide for Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Locale Facets

In order to better understand the procedure to install language support in Oracle Solaris 11, you should become familiar with the concept of facets.

What Is a Facet?

In earlier Oracle Solaris releases, the optional components such as documentation, localization or debug files used to be split into separate packages. The Image Packaging System in Oracle Solaris 11 allows Oracle to keep the optional components in the same package using special tags called facets. Facets make the packaging simpler, while keeping disk space usage low if you do not need the additional features. For more information on facets, see Package Facets and Variants in Adding and Updating Software in Oracle Solaris 11.2 and Chapter 5, Allowing Variations, in Packaging and Delivering Software With the Image Packaging System in Oracle Solaris 11.2 .

The locale facets are used to mark files or actions that are language or locale specific. For example, in the manifest of the web/wget package, the file /usr/share/locale/ja/LC_MESSAGES/wget.mo is tagged with facet.locale.ja=true. This tag indicates that the file, containing Japanese translations of the wget messages, will only be installed when support for Japanese is enabled by setting the facet.locale.ja facet to true.

Structure of Locale Facets

There is no fixed format for the locale facets. The following convention is used in the Oracle IPS repositories:

facet.locale.{language}[_territory]

language is a two-letter language code from the ISO 639 standard, and territory is a two-letter territory code from ISO 3166.