The x18n template operator
Registered in kernel/common/eztemplateautoload.php by the class eZi18nOperator (kernel/common/ezi18noperator.php).
The same class also registers: i18n, d18n.
Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
extension | string | yes | false |
context | string | no | false |
comment | string | no | '' |
arguments | hash | no | false |
Example
Built from the parameter list above; the values are placeholders (the operator's template hints decide whether it takes an input).
$value|x18n( 'extension', 'context', 'comment', hash() )Related
Generated by ./console exp:help:examples from kernel/common/eztemplateautoload.php, kernel/common/ezi18noperator.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.