---
name: "locale.gen"
section: "5"
platform: "linux"
package: "locales"
version: "2.41-12+deb13u4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/locale.gen"
---

# locale.gen(5)

Configuration file for locale-gen

## NAME

locale.gen - Configuration file for locale-gen

## DESCRIPTION

The file */etc/locale.gen* lists the locales that are to be generated by the **locale-gen** command.

Each line is of the form:

\<locale\> \<charset\>

where \<locale\> is one of the locales given in **/usr/share/i18n/locales** and \<charset\> is one of the character sets listed in **/usr/share/i18n/charmaps**

The **locale-gen** command will generate all the locales, placing them in **/usr/lib/locale**.

## SEE ALSO

[**locale-gen**(8)](/locale-gen/8.md), [**localedef**(1)](/localedef/1.md), [**locale**(1)](/locale/1.md)

## AUTHOR

Alastair McKinstry \<mckinstry@computer.org\>
