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 == 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...
Previous post - Next post | Parent - Children.1 | Posted on 2005/3/3 1:01
manel  Private   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  Gunnery Sergeant   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  Sergeant   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  Gunnery Sergeant   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!