Skip to the content
Documentation

locale

No ratings yet

Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it.

Summary

Locale aware conversions and output using operator "l10n" This class takes care of converting variables and displaying them according to their locale settings.

Description

Locale aware conversions and output using operator "l10n"

This class takes care of converting variables and displaying them
according to their locale settings.
The class has one operator called l10n (short for localization) which
takes one parameter which is localization type.
Supported types are time, shorttime, date, shortdate, currency and number.

Source

Implemented by eZTemplateLocaleOperator (lib/eztemplate/classes/eztemplatelocaleoperator.php).

See also

Generated example: locale

Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this operator.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.