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

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

Target Downloads
Subject The Easiest Multi-Language Hack (EMLH) 1.31
Summary == お手軽多言語ハック ==●特長気軽に利用できる多言語ハックです。ファイル1つをコピーして、mainfile.php に1行追加。たったそれだけで、動作します。obフィルターを利用して最終出力時にいくつかの変換処理を行うだけなので、XOOPSのブロックキャッシュやモジュ...

List posts in the topic

normal Re: The Easiest Multi-Language Hack (EMLH) 1.24

msg# 1.1
depth:
1
Previous post - Next post | Parent - Children.1 | Posted on 2006/4/4 3:32
GIJOE  先任軍曹   Posts: 4110
Check configuration part of easiestml.php

eg)
define('EASIESTML_LANGS','en,es');

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

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

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

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

With above setting, the link will be
"?easiestml_lang=en"
or
"?easiestml_lang=es"

Anyway, use [ mlimg] tag instead. (remove space after [)
Votes:1 Average:10.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!