update-locale - Modify global locale settings
update-locale [OPTIONS] [var=locale | var] [...]
This program can be called by maintainer scripts when Debian packages are installed or removed, it updates the /etc/default/locale file to reflect changes in system configuration related to global locale settings. When variables have no value assigned, they are removed from the locale file. Some basic checks are performed to ensure that requested settings are valid.
The command update-locale LANG=en_CA.UTF-8 LANGUAGE sets LANG to en_CA.UTF-8 and removes definitions for LANGUAGE.
Denis Barbier <barbier@linuxfr.org>
locale-gen(8), locale(1)