# update-locale - Modify global locale settings - man(8) - [phpMan]

[_UPDATE-LOCALE_(8)](https://www.chedong.com/phpMan.php/man/UPDATE-LOCALE/8/markdown)                       System Manager's Manual                      [_UPDATE-LOCALE_(8)](https://www.chedong.com/phpMan.php/man/UPDATE-LOCALE/8/markdown)

## NAME
       update-locale - Modify global locale settings

## SYNTAX
       update-locale [_OPTIONS_] [_var_=_locale_ | _var_] [...]

## DESCRIPTION
       This  program  can  be called by maintainer scripts when Debian packages are installed or re‐
       moved, it updates the _/etc/locale.conf_ file to reflect changes in  system  configuration  re‐
       lated  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.

## OPTIONS
       **--help **Display an help message and exit.

### --reset
              Variables which are not set on command-line are cleared out.

       **--locale-file _**FILE_
              Define file containing locale variables.  (Default: _/etc/locale.conf_)

### --no-checks
              Do not perform sanity checks on locale variables.

## EXAMPLE
       The command
               **update-locale LANG=en_CA.UTF-8 LANGUAGE**
       sets **LANG **to **en_CA.UTF-8 **and removes definitions for **LANGUAGE**.

## FILES
       _/etc/locale.conf_
              File where global locale settings are stored.

## AUTHOR
       Denis Barbier <<barbier@linuxfr.org>>

## SEE ALSO
       [**locale-gen**(8)](https://www.chedong.com/phpMan.php/man/locale-gen/8/markdown), [**locale**(1)](https://www.chedong.com/phpMan.php/man/locale/1/markdown)

Debian GNU/Linux                             April 2006                             [_UPDATE-LOCALE_(8)](https://www.chedong.com/phpMan.php/man/UPDATE-LOCALE/8/markdown)
