locale.gen(5)
๐ธ NAME ๐ธ
okay so locale.gen is the config file for locale-gen, and it's giving settings file energy ๐
โจ DESCRIPTION โจ
bestie, /etc/locale.gen is basically the guest list ๐ It tells the locale-gen command exactly which locales to make โจ
every line on that list follows the same vibe:
<locale> <charset>
- locale is one of the locales listed in
/usr/share/i18n/locales๐ - charset is one of the character sets listed in
/usr/share/i18n/charmaps๐ค
so pick your locale and your charset from those folders, and you're giving ๐
once you've got your list, locale-gen makes all of them and drops the results into /usr/lib/locale ๐ฆ it's literally that easy, no cap ๐
๐ฆ SEE ALSO ๐ฆ
you'll want to peek at these too, they're iconic ๐
๐ AUTHOR ๐
this one was written by Alastair McKinstry <mckinstry@computer.org> ๐ซถ
locale.gen(5) ยท File Formats Manual ๐
okay bestie, that's the whole thing ๐ this page came from the Debian GNU/Linux manual set, dated July 2005, and it's still giving ๐ง๐
๐ฆ where this page comes from
- debian trixie: locales 2.41-12+deb13u4 ยท LGPL-2.1-or-later
- ubuntu questing: locales 2.42-0ubuntu3
- ubuntu questing: locales 2.42-0ubuntu3.1 ยท LGPL-2.1-or-later
- ubuntu resolute: locales 2.43-2ubuntu2 ยท LGPL-2.1-or-later
- ubuntu resolute: locales 2.43-2ubuntu2.4 ยท LGPL-2.1-or-later
- ubuntu stonking: locales 2.44-1ubuntu2 ยท LGPL-2.1-or-later
- Copyright (C) 2002, 2005 Free Software Foundation, Inc
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms