Module zut.locale

Registration of locales and retrieval of information about locales.

Functions

get_locale_csv_delimiter([name])

Get the locale CSV delimiter character.

get_locale_date_format([name])

Get the locale date format, if known (e.g. "%d/%m/%Y").

get_locale_decimal_separator([name])

Get the locale decimal separator character.

get_locale_name()

Return the current locale name, for example: fr_FR.UTF-8 on Linux or French_France.1252 on Windows.

register_locale([name])

Register a locale for the entire application.

use_locale([name])

Use a locale temporary (in the following thread-local block/context).