PEAK XOOPS - Re: The Easiest Multi-Language Hack in englishin japanese

Re: The Easiest Multi-Language Hack

  • As this forum is only for commentation, you cannot open a new topic
  • Guests cannot post into this forum
Target Downloads
Subject The Easiest Multi-Language Hack (EMLH) 1.31
Summary == お手軽多言語ハック ==●特長気軽に利用できる多言語ハックです。ファイル1つをコピーして、mainfile.php に1行追加。たったそれだけで、動作します。obフィルターを利用して最終出力時にいくつかの変換処理を行うだけなので、XOOPSのブロックキャッシュやモジュ...
Previous post - Next post | Parent - Children.1 | Posted on 2005/3/3 1:01
manel  二等兵   Posts: 5
This hack only works with content? It not translate the menus of xoops?

Manel
Votes:7 Average:8.57
Previous post - Next post | Parent - Children.1 | Posted on 2005/3/3 4:49 | Last modified
GIJOE  先任軍曹   Posts: 4110
This hack is different from marcan's hack radically.

If you need multilanguage other than contents, edit themes,templates,configs, and the current language files like this:

[en]English[/en][fr]France[/fr]

It is easy to create a perl script make such language files automatically.
Votes:1 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2005/3/3 22:30 | Last modified
tl  三等軍曹   Posts: 84
Quote:
This hack is different from marcan's hack radically.

If you need multilanguage other than contents, edit themes,templates,configs, and the current language files like this:

[en]English[/en][fr]France[/fr]

It is easy to create a perl script make such language files automatically.

GIJOE:

First of all, thanks for a great hack.

I am not sure if it would be possible. It would be great if for example, when I click on Japanese Flag, the hack will trigger profile change and switch the whole site to Japanese language. This would take care of menu translation and there would be no need of hardcoding the menu items.

tl
Votes:1 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2005/3/4 5:17 | Last modified
GIJOE  先任軍曹   Posts: 4110
hi tl.

Perhaps, you misunderstood about EMLH.

EMLH does not concern user's profiles.
It just eliminates the other language part in the last of outputting.
(ob filter)

Only a cookie is affected.

This tecnique is useful for other than XOOPS
Votes:1 Average:10.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!