locale.gen(5)

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

๐ŸŒธ 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