Hi,
i'm have copied the file "easiestml.php" in to the /include dir. and
Quote:
// list the language tags separated with comma
define('EASIESTML_LANGS','en,de,jp'); // This is a sample of long pattern against tag misunderstanding // define('EASIESTML_LANGS','en,fr'); // [en]english[/en] [fr]french[/fr] common
// list the language images separated with comma
define('EASIESTML_LANGIMAGES','images/english.gif,images/german.gif,images/japanese.gif');
// list the language names separated with comma
define('EASIESTML_LANGNAMES','english,german,japanese');
// tag name for language image (default . don't include specialchars)
define('EASIESTML_IMAGETAG','mlimg');
// make regular expression which disallows language tags to cross it
define('EASIESTML_NEVERCROSSREGEX','/\<\/table\>/');
// the life time of language selection stored in cookie
define('EASIESTML_COOKIELIFETIME',365*86400);
+
open mainfile.php with your editor and insert
Quote:
require XOOPS_ROOT_PATH.'/include/easiestml.php' ;
+
block
Quote:
<a href="?easiestml_lang=en">English</a>
<a href="?easiestml_lang=de">German</a>
<a href="?easiestml_lang=jp">Japanese</a>
Im can not change the lang.
Rene