PEAK XOOPS - Re: EMLH: language not changing in englishin japanese

Re: EMLH: language not changing

List posts in the topic

none Re: EMLH: language not changing

msg# 1.3
depth:
1
Previous post - Next post | Parent - No child | Posted on 2011/8/11 16:50 | Last modified
phasar  Lance Corporal   Posts: 28
I'm having the same problem Joe

I'm trying to run English and Russian. I translated all the modules and put the files in subdir modulename\languages\russian

I also translated xoops core files in root/languages/russian

easiestml.php config is as follows

Quote:
//define('EASIESTML_LANGS','xlang:en,xlang:ja'); // This is a sample of long pattern against tag misunderstanding englishdefine('EASIESTML_LANGS','en,ru'); // [en]english[/en] [ja]japananese[/ja] common

// list the language images separated with comma
define('EASIESTML_LANGIMAGES','images/EN.gif,images/RU.gif');

// list the language names separated with comma (these will be alt of <img>)
define('EASIESTML_LANGNAMES','english,russian');

// list language - accept_chaset patterns (perl regex) separated with comma
define('EASIESTML_ACCEPT_CHARSET_REGEXES',',');

// list language - accept_language patterns (perl regex) separated with comma
define('EASIESTML_ACCEPT_LANGUAGE_REGEXES','/^en/,/^ru/');

// charset in Content-Type separated with comma (only for fastestcache)
define('EASIESTML_CHARSETS','UTF8,UTF8');

// tag name for language image (default [ mlimg ]. 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);

// default language
define('EASIESTML_DEFAULT_LANG',0);

// post merger eg) <input name="subject[en]"> and <input name="subject[ja]">
define('EASIESTML_USEPOSTMERGER',0);

I created a block that contains [ center ][ mlimg ][ /center ]

The flag appear ok, but clicking on them doesn't do anything. The site language doesn't change. It just stays English

HELP Please!!!!

TIA
Frank
Votes:3 Average:6.67

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!