function.jlocale.php
Tags
Table of Contents
- jtpl_function_html_jlocale() : mixed
- function plugin : write the localized string corresponding to the given locale key.
Functions
jtpl_function_html_jlocale()
function plugin : write the localized string corresponding to the given locale key.
jtpl_function_html_jlocale(jTpl $tpl, string $locale) : mixed
example : {jlocale 'myModule~my.locale.key'}
Parameters
- $tpl : jTpl
-
template engine
- $locale : string
-
the locale key