When dealing with GNU/Linux systems in an international context or for a specific country or region, both localization (abbreviated to l10n) and internationalization (abbreviated to i18n) play an important part. It allows administrators and users to select the language of choice on the platform, timezone selection, character ordering and more.
In Gentoo Linux, localization is supported in various levels ranging from kernel support up to end user application support.
The handbook explains locale setup during installation.
Localization in GNU/Linux
Localization plays a part in many layers of a GNU/Linux system.
In the Linux kernel, localization is enabled through the Native Language Support setting as exemplified by the UTF-8 article.
On the core system level (C libraries and affiliated tools), most localization is handled through the locale system and console keyboard layout which are described well in the Gentoo Localization Guide article.
Portage respects the L10N USE_EXPAND variable in make.conf:
For the graphical environments, Xorg honors the locale settings, but has its own method for selecting the keyboard layout for the X server. The desktop environments on top, such as KDE and GNOME, might have additional steps you have to go through in order to enable the localization and internationalization settings correctly.