HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

eselect locale — An `eselect` module for managing the `$LANG` environment variable, which sets the system language. M

Submitted by: @import:tldr-pages··
0
Viewed 0 times
themodulecommandeselect localeclimanagingeselectfor
linux

Problem

How to use the eselect locale command: An eselect module for managing the $LANG environment variable, which sets the system language. More information: <https://wiki.gentoo.org/wiki/Eselect#Locale>.

Solution

eselect locale — An eselect module for managing the $LANG environment variable, which sets the system language. More information: <https://wiki.gentoo.org/wiki/Eselect#Locale>.

List available locales:
eselect locale list


Set the $LANG environment variable in /etc/profile.env by name or index from the list command:
eselect locale set {{name|index}}


Display the value of $LANG in /etc/profile.env:
eselect locale show

Code Snippets

List available locales

eselect locale list

Set the `$LANG` environment variable in `/etc/profile.env` by name or index from the `list` command

eselect locale set {{name|index}}

Display the value of `$LANG` in `/etc/profile.env`

eselect locale show

Context

tldr-pages: linux/eselect locale

Revisions (0)

No revisions yet.