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_* environment variables with the given value
Character classification and case conversion
Collation (sort) order
Date and time formats
Non-monetary numeric formats
Measurement units (Metric or Other)
The default value, which is used when either
LC_ALL is not set, or an applicable value for
LC_* is not set
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
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.
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
and also in
EDIT: To change these settings, edit your locale config file