Section: Maintenance Commands (8)
Updated: April 2006
Return to Main Contents
update-locale - Modify global locale settings
[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
Some basic checks are performed to ensure that requested settings are valid.
Display an help message and exit.
Variables which are not set on command-line are cleared out.
- --locale-file FILE
Define file containing locale variables. (Default:
Do not perform sanity checks on locale variables.
update-locale LANG=en_CA.UTF-8 LANGUAGE
sets LANG to en_CA.UTF-8 and removes definitions for LANGUAGE.
File where global locale settings are stored.
Denis Barbier <email@example.com>
- SEE ALSO
This document was created by
using the manual pages.