Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

update-locale - Modify global locale settings

Author

       Denis Barbier <barbier@linuxfr.org>

Description

       This  program  can  be  called  by  maintainer  scripts when Debian packages are installed or removed, it
       updates the /etc/locale.conf 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.

Example

       The command
               update-localeLANG=en_CA.UTF-8LANGUAGE
       sets LANG to en_CA.UTF-8 and removes definitions for LANGUAGE.

Files

/etc/locale.conf
              File where global locale settings are stored.

Name

       update-locale - Modify global locale settings

Options

--help Display an help message and exit.

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

       --locale-fileFILE
              Define file containing locale variables.  (Default: /etc/locale.conf)

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

See Also

locale-gen(8), locale(1)

Debian GNU/Linux                                   April 2006                                   UPDATE-LOCALE(8)

Syntax

       update-locale [OPTIONS] [var=locale | var] [...]

See Also