Formatting and internationalization
| Operator | Summary |
|---|---|
| d18n | Marks a string for translation. Valid from 4.3 |
| datetime | Formats dates/times according to settings in "datetime.ini". |
| i18n | Marks a string for translation. |
| l10n | Formats misc. numbers (times, dates, currencies, numbers, etc.). |
| si | Handles unit display of values (output formatting). |
In this section
- d18n This adds a new template operator "d18n", it's an alias for i18n() operator and behaves just like it, only difference is that ezlupdate (qt scripts that generates translation files) will ignore it so it can be used for dynamic strings (variables). This operator makes it possible to translate static
- datetime Exponential Documentation
- i18n This operator makes it possible to translate static strings that are defined in various templates. It is typically useful to ensure that the HTML interface is available in several languages in a multilanguage scenario.
- l10n This operator formats/localizes miscellaneous numeric values according to the current locale settings. The value that should be formatted must be input using the input parameter. The "type" parameter must be used to select the desired format. The following list reveals the available formats/types.
- si This operator handles formatting of different kind of values (file sizes, lengths, weights, etc.). The value that should be formatted must be provided as the input parameter. The first parameter must reveal the type of the input value. The following list shows the types that can be used.
Contributors
- Balazs Halasy Updated
Comments
Add a comment