How To Set Locale In Linux?
Locale is configuration of a linux system that provides region,keyboard, time related data. Locale is important because it will change the interpretation of the some keyboards etc. If you are getting following warning like Setting locale failed we will look how to solve it
List Current Locale Setting
Listing of current locale settings can be done just issuing locale command.
Change Local Variable
We see that LC_ALL is not set and the problem is that some application needs this locale to be set.
$ sudo update-locale LC_ALL="en_US.UTF-8"
- update-locale is command which willupdate locale configuration
- LC_ALL=”en_US.UTF-8″ is the locale variable we want to update
To effect the settings log out and login for locale command