Jelix 1.8.14-pre

function.jlocale.php

Tags
subpackage

jtpl_plugin

author

Laurent Jouanneau

copyright

2005-2011 Laurent Jouanneau

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_xml_jlocale()  : mixed
function plugin : write the localized string corresponding to the given locale key.

Functions

jtpl_function_xml_jlocale()

function plugin : write the localized string corresponding to the given locale key.

jtpl_function_xml_jlocale(jTpl $tpl, string $locale) : mixed

example : {jlocale 'myModule~my.locale.key'}

Parameters
$tpl : jTpl

template engine

$locale : string

the locale key

Tags
Return values
mixed

Search results