1
Hi,
i follow all instructions to use EMLH, but it doesn´t translate system or modules. I´ve got all modules with english&spanish folders languages, but changes doesn´t happend...
I put this code as Rplima suggest over Gijoe´s page (replacing for code i´ll need it), but site goes crazy. All tags were showed & i was to did a new installation for it.
if (isset( $_GET['easiestml_lang'] ) && isset($_COOKIE['easiestml_lang'])){ switch ($_GET['easiestml_lang']){ case 'pt':$xoopsConfig['language'] = 'portuguese'; break; case 'us':$xoopsConfig['language'] = 'english'; break; }
}elseif(isset($_COOKIE['easiestml_lang'])){ switch ($_COOKIE['easiestml_lang']){ case 'pt':$xoopsConfig['language'] = 'portuguese'; break; case 'us':$xoopsConfig['language'] = 'english'; break; }
}elseif(isset($_GET['easiestml_lang'])){ switch ($_GET['easiestml_lang']){ case 'pt':$xoopsConfig['language'] = 'portuguese'; break; case 'us':$xoopsConfig['language'] = 'english'; break; } }
Any idea?
Thanks in advance.