Configuring System Language (Locale) and Keyboard Settings
System-wide preferences for language and keyboard are stored in the locale configuration file (
/etc/locale.conf
). You can query and change these settings as needed using localectl
command. Note that the systemd
process reads the locale configuration file at boot and applies these settings to every system-wide service, user interface, and user profile, unless they're overridden by other programs or users. For more information about configuring these system-wide settings, see:
Note:
System-wide preferences for language and keyboard are also configurable during installation. For details on how to configure these settings at installation, see Oracle Linux 8: Installing Oracle Linux.Changing the Language Setting
The system locale language setting defines the language in which text appears in the Linux user interfaces (text-based and graphical).
To query and change the language setting on the system, follow these steps:
Installing Language Locales Individually
A langpack is a metapackage that consists of dependencies that provide support for a specified language. The dependencies include packages for locales, fonts, and other functionality for using a language on a system.
For a given language, one of the dependencies the langpack installs is glibc-langpack-<locale_code>. To reduce storage space required for languages, you can choose to install only the individual glibc locale langpack packages (glibc-langpack-<locale_code>).