| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Locale
Locale.Gettext

# Module Locale.Gettext

Description

  This module enables access to localization functions from within Pike.

Note

  The message conversion functions in this module do not handle Unicode strings. They only provide thin wrappers to `gettext(3)` etc, which means strings are assumed to be encoded according to the `LC_*` and `LANG` variables. See the docs for `gettext(3)` for details.

Constant LC_ALL

  `constant Locale.Gettext.LC_ALL`

Description

  Locale category for all of the locale.

Constant LC_COLLATE

  `constant Locale.Gettext.LC_COLLATE`

Description

  Locale category for the functions strcoll() and strxfrm() (used by pike, but not directly accessible).

Constant LC_CTYPE

  `constant Locale.Gettext.LC_CTYPE`

Description

  Locale category for the character classification and conversion routines.

Constant LC_MESSAGES

  `constant Locale.Gettext.LC_MESSAGES`

FIXME

  Document this constant.

Note

  This category isn't available on all platforms.

Constant LC_MONETARY

  `constant Locale.Gettext.LC_MONETARY`

Description

  Locale category for localeconv().

Constant LC_NUMERIC

  `constant Locale.Gettext.LC_NUMERIC`

Description

  Locale category for the decimal character.

Constant LC_TIME

  `constant Locale.Gettext.LC_TIME`

Description

  Locale category for strftime() (currently not accessible from Pike).