2025-03-14 21:59:59 -06:00
|
|
|
# eselect locale
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
> An `eselect` module for managing the `$LANG` environment variable, which sets the system language.
|
2025-03-14 21:59:59 -06:00
|
|
|
> More information: <https://wiki.gentoo.org/wiki/Eselect#Locale>.
|
|
|
|
|
|
|
|
|
|
- List available locales:
|
|
|
|
|
|
|
|
|
|
`eselect locale list`
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- Set the `$LANG` environment variable in `/etc/profile.env` by name or index from the `list` command:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`eselect locale set {{name|index}}`
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- Display the value of `$LANG` in `/etc/profile.env`:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`eselect locale show`
|