Linux refers to these settings as system-locale.
You can change your system locale by,
- set environment variables to control the system locale. You can set these variables to be system-wide, or on a per-session basis:
LC_ALL
Overrides all LC_*
environment variables with the given value
LC_CTYPE
Character classification and case conversion
LC_COLLATE
Collation (sort) order
LC_TIME
Date and time formats
LC_NUMERIC
Non-monetary numeric formats
LC_MONETARY
Monetary formats
LC_MEASUREMENT
Measurement units (Metric or Other)
LANG
The default value, which is used when either LC_ALL
is not set, or an applicable value for LC_*
is not set
TZ
Time zone
You can use the command locale
to show your current locale.
locale -a
displays all the locales that are currently installed on the machine. Make sure that the locale you select for LANG
and LC_ALL
is in the list that is returned by the command locale -a. The values that locale uses and returns are case sensitive, therefore copy them exactly when assigning them to an environment variable.
Consult the man-pages
for more information like given below
Spefically for what you asked for, set
mon_grouping
: Defines the size of each group of digits in formatted monetary quantities.
mon_grouping Formatted Value ISO C String
3;-1 123456'789 "\3\177"
3 123'456'789 "\3"
3;2;-1 1234'56'789 "\3\2\177"
3;2 12'34'56'789 "\3\2"
-1 1234567898 "\177"
Therefore your case should be
in LC_MONETARY
mon_grouping -1
and also in LC_NUMERIC
grouping -1
EDIT: To change these settings, edit your locale config file
/usr/share/i18n/locales/<your_locale>