Skip to main content

Locale, Date & Time

Locale

In Linux, a locale is a set of environment variables that defines the language, country, and character encoding settings for a user's environment. Locales affect various aspects of a program's behavior, such as the way dates and times are displayed, the format of numbers, the sort order of strings, and the language used for messages.

------------------------------------------------------------------------------------------------------------------------------------------------

View current locale configuration

localectl

and

locale

View specific locale variable setting (You can view the different options using the locale command above^

locale LC_NUMERIC

 

------------------------------------------------------------------------------------------------------------------------------------------------