Jelix 1.6.37

function.jlocale.php

Tags
subpackage

jtpl_plugin

author

Laurent Jouanneau

copyright

2005-2011 Laurent Jouanneau

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

Functions

jtpl_function_ltx2pdf_jlocale()

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

jtpl_function_ltx2pdf_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