core :: CString :: set_locale
This can be set at different times in the program, if used with an empty string, the locale will be set to the user's environment locale.
For more info, SEE setlocale manual
# Sets the locale of the program running
#
# This can be set at different times in the program,
# if used with an empty string, the locale will
# be set to the user's environment locale.
#
# For more info, SEE setlocale manual
fun set_locale `{
setlocale(LC_ALL, self);
`}
lib/gettext/gettext.nit:33,2--42,3