Elxis CMS Forum
Support => Language => Topic started by: nikos on June 05, 2013, 11:06:19
-
Developing a plugin how i can write multilingual plugin help?
/***************/
/* PLUGIN HELP */
/***************/
private function Help() {
?>
<p>bla....bla...bla</p>
-
/* PLUGIN HELP */
/***************/
private function Help() {
$elxis = eFactory::getElxis();
$eLang = eFactory::getLang();
echo '<p><img src="'.$elxis->secureBase().'/components/com_content/plugins/blablabla/includes/mublablabla.png" alt="blablabla" border="0" style="float:right;" />'.$eLang->get('DESCRHELP')."</p>\n";
}
where DESCRHELP is a variable in the language fle plug-in
-
Thank you Speck, i will try it.
--------------------------------
I just did and works fine. I like this way and i think is useful for developers to provide multilingual help to users.
Grazie tanto caro!