/etc/locale.conf is the system configuration file for locale settings. Its
LANG variable takes precedence over the
LOCALE variable from
DAEMON_LOCALE is set in
rc.conf, then the settings in
locale.conf applies to daemons as well as login shells, otherwise it only applies to login shells.
/etc/locale.conf contains a new-line separated list of environment variable assignments. It supports
LANG as well as all the
LC_* variables, with the exception of
LC_ALL. The format is shared with systemd .
The following is a sample file