PEAK XOOPS - Re: The Easiest Multi-Language Hack (EMLH) 1.31 in englishin japanese

Re: The Easiest Multi-Language Hack (EMLH) 1.31

Target Downloads
Subject The Easiest Multi-Language Hack (EMLH) 1.31
Summary == THE EASIEST MULTILANGUAGE HACK for XOOPS ==SUMMARY:The easiest multilanguage hack I ever seen. All you have to do is just copying a file and inserting a line into mainfile.php.Block's cache and module's cache are valid.Since this is just a...

List posts in the topic

none Re: The Easiest Multi-Language Hack (EMLH) 1.31

msg# 1.4
depth:
1
Previous post - Next post | Parent - No child | Posted on 2011/8/10 19:07
phasar  Lance Corporal   Posts: 28
Hello Joe

I would like to check my configuration to make sure it is correct.

I want to use English and Russian on my site and I'm not certain about the PERL expressions

Quote:

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

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

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

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

Is it correct?
Votes:2 Average:5.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!