GLibC Locales

WARNING: Please update your bookmarks! The content of this site has been moved to http://dille.name where it will be updated as needed. This page will remain unchanged.

Portage can be configured to not build all available locales. By applying the following two steps, the selected locales are whitelisted.
  1. Configure the GLibC ebuild to allow building selected locales:
    echo "sys-libs/glibc userlocales" >> /etc/portage/package.use
    
  2. Create a whitelist of locales in /etc/locales.build:
    en_US/ISO-8859-1
    en_US.UTF-8/UTF-8
    de_DE/ISO-8859-1
    de_DE@euro/ISO-8859-15
    de_DE.UTF-8/UTF-8
    

See also: localization