How to change language and regional settings or locale in Fedora XFCE Linux

Coming from Linux Mint or Ubuntu or Xubuntu, it is trivial to change language and regional settings there, but in Fedora, to change the language settings, open a terminal window, and enter the following per requirement.

To list the current locale:
$ locale <enter>
LANG=en_US.utf8
LC_CTYPE=”en_US.utf8″
LC_NUMERIC=en_IN.UTF8
LC_TIME=en_IN.UTF8
LC_COLLATE=”en_US.utf8″
LC_MONETARY=en_IN.UTF8
LC_MESSAGES=”en_US.utf8″
LC_PAPER=”en_US.utf8″
LC_NAME=”en_US.utf8″
LC_ADDRESS=”en_US.utf8″
LC_TELEPHONE=”en_US.utf8″
LC_MEASUREMENT=”en_US.utf8″
LC_IDENTIFICATION=”en_US.utf8″
LC_ALL=

To setup the locale globally:
$ vi /etc/locale.conf <enter>

Add in the following lines:
LANG=”en_IN.UTF8″
LC_NUMERIC=”en_IN.UTF8″
LC_TIME=”en_IN.UTF8″
LC_MONETARY=”en_IN.UTF8″

:wq

Locale can also be set for a user by adding the above lines in the ~/.bashrc file.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s