About this plugin
It allow the user to translate static texts as the example:
echo _l(‘cat’);
com/
How to use
php)
and contains the following code:
php $ FL_DICT = array(
'cat' => 'Katze', 'dog' => 'Hund', .............
>
where ‘cat’ => ‘Katze’ ‘regulations is a word and its translation.
php to add the code:
php if(class_exists(‘flexoLanguage’)){
$f = dirname(__FILE__);
flexoLanguage::is_set_language()) flexoLanguage::set_language('en');//selected language
flexoLanguage::add_dictionary($f);
function _l($key){ return flexoLanguage::_($key); }
}
else{
function _l($key){return $key;}
>
and everywhere in the code where you write words you want to have a translation in another language and place:
_l(‘cat’);