PEAK XOOPS - Re: emlh: open site in the first visit in a specific language? in englishin japanese

Re: emlh: open site in the first visit in a specific language?

List posts in the topic

question Re: emlh: open site in the first visit in a specific language?

msg# 1.1
depth:
1
Previous post - Next post | Parent - Children.1 | Posted on 2006/9/5 13:01
GIJOE  ÀèǤ·³Áâ   Posts: 4110
It depends on the order in configuration of EMLH.

eg) fr -> en
// list the language tags separated with comma
define('EASIESTML_LANGS','fr,en');

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

// list the language names separated with comma
define('EASIESTML_LANGNAMES','french,english');

// 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','/^fr/,/^en/');

// charset in Content-Type separated with comma (only for fastestcache)
define('EASIESTML_CHARSETS','ISO-8859-1,ISO8859-1');

Or modify the pattern of EASIESTML_ACCEPT_CHARSET_REGEXES / EASIESTML_ACCEPT_LANGUAGE_REGEXES.

Votes:2 Average:10.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!