You can get or set the locale settings in a linux environment (tried in fedora) by using the command :

localectl

You can remember it as Locale Control

You can also get more locale information by simply executing the command:

locale

To learn all the possible locale languages type this in terminal:

locale -a

To set locale (to change locale language setting), you can do something like this example:

localectl set-locale LANG=fr_FR.utf8

Also to temporarily to execute any command in a different language, prefix the command with the LANG=<appropriate languagr> <command>. For example:

LANG=fr_FR.utf8 date

To learn more about locale always take help of documentations.

Advertisements