UPDATE-LOCALE(8)

๐Ÿ“ฆ
version 2.44 ยท 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

๐Ÿ’– UPDATE-LOCALE(8) ๐Ÿ’–

okay so welcome to the System Manager's Manual ๐ŸŽ€ this is the page for update-locale, and it's literally the tool for keeping your global locale settings in check โœจ

๐Ÿงš NAME

update-locale โ€” Modify global locale settings ๐ŸŒธ

๐Ÿ“ SYNTAX

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

โœจ DESCRIPTION

okay so this program is bestie-level useful ๐Ÿซถ maintainer scripts can call it when Debian packages get installed or removed, and it updates the /etc/locale.conf file so it matches what's going on with your system's global locale settings ๐ŸŒˆ

when a variable shows up with no value assigned, it gets removed from the locale file ๐Ÿ’€ and before anything gets written, it does some basic checks to make sure the settings you asked for are actually valid. no cap, it's giving responsible ๐Ÿ’…

๐ŸŽ€ OPTIONS

  • --help โ€” shows you a help message and then exits ๐Ÿ™ˆ
  • --reset โ€” any variables you didn't set on the command line get cleared out ๐Ÿงน this one's a whole glow-up, so be careful with it ๐Ÿ˜ญ
  • --locale-file FILE โ€” lets you pick the file that holds your locale variables ๐Ÿฆ‹ if you don't pick one, it defaults to /etc/locale.conf
  • --no-checks โ€” skips the sanity checks on your locale variables ๐Ÿ”ฅ you do you, but the checks are there for a reason

๐Ÿ“ EXAMPLE

the vibe here is so clean ๐Ÿ’œ this command:

update-locale LANG=en_CA.UTF-8 LANGUAGE

sets LANG to en_CA.UTF-8 and removes the definition for LANGUAGE. iconic behaviour, periodt โœจ

๐Ÿ“‚ FILES

  • /etc/locale.conf โ€” the file where your global locale settings are stored ๐ŸŒท

๐Ÿ‘‘ AUTHOR

this page was written by Denis Barbier <barbier@linuxfr.org> ๐Ÿซถ

๐Ÿฆ‹ SEE ALSO

locale-gen(8), locale(1) ๐Ÿ’–


ngl that's the whole page, bestie ๐ŸŒˆ this was the Debian GNU/Linux manual, dated April 2006, with UPDATE-LOCALE(8) as the footer, so now you're fully caught up ๐Ÿ’…โœจ