Jelix 1.7.18

function.jlocale.php

Tags
subpackage

jtpl_plugin

author

Laurent Jouanneau

contributor

Julien Issler, Hadrien Lanneau

copyright

2005-2011 Laurent Jouanneau

copyright

2008 Julien Issler, 2010 Hadrien Lanneau

see
http://www.jelix.org
licence

GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html

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

Return values
mixed

Search results