Sets the special locale array. Tries to use
POSIX setlocale based on the value of itself, then
tries to accept a custom setting with the proper definitions of mon_decimal_point
, thousands_sep
, and frac_digits
, which are the the only international settings required. Default if not
set is to use US-English settings.
Example of the custom setting:
Locale custom mon_decimal_point , mon_thousands_sep . frac_digits 0
Example of POSIX setlocale for France, if properly aliased:
Locale fr
See setlocale(3)
for more information. If embedded Perl code
is used to sort search returns, then the setlocale()
will
carry through to string collation.
MiniVend 3.07 extends the Locale array to accept many more settings. See Internationalization.