Go to main content

International Language Environments Guide for Oracle® Solaris 11.3

Exit Print View

Updated: December 2018
 
 

Adding or Removing Locales by Using pkg

To add language support, set the pertinent locale facet with the pkg change-facet command by using the pkg command. For example, you can use the following command to install and add support for French as spoken in France.

  • To install files common for all French locales and specific to French in France

    # pkg change-facet locale.fr=True locale.fr_FR=True
  • To install files common for all French locales and specific to all of the French variants

    # pkg change-facet locale.fr=True locale.fr_*=True

To remove files, specify False or None instead of True. False explicitly deselects applicable files. None removes the specific facet configuration and causes applicable files to get deselected implicitly because locale.*=False is configured in default installations. For more information about facet configuration, see the pkg(5) man page.