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

The Easiest Multi-Language Hack (EMLH) 1.31

  • 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 .2 .3 .4 .5 | Posted on 2009/7/10 21:51
leco1  Sergeant From: Porto Alegre  Posts: 93
Hi

I'm trying use this hack in site http://mixmusicas.com with theme mysite3 powered by Nobu.
In this site, i use xoops cube legacy 2.2.0_alpha.

My settings in file easiestml.php is:

[code]
// CONFIGURATIONS BEGIN

// list the language tags separated with comma
//define('EASIESTML_LANGS','xlang:en,xlang:ja'); // This is a sample of long pattern against tag misunderstanding englishdefine('EASIESTML_LANGS','en,pt'); // [en]english[/en] [ja]japananese[/ja] common

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

// list the language names separated with comma (these will be alt of <img>)
define('EASIESTML_LANGNAMES','Em ingl
Votes:9 Average:7.78
Previous post - Next post | Parent - No child | Posted on 2009/7/27 5:01
GIJOE  Gunnery Sergeant   Posts: 4110
hi leco.

Perhaps, you've misunderstood the feature of EMLH.
EMLH never changes the system language.

If you make a contents like:
[en]English[/en]
[pt]Portuguese[/pt]
It will be changed by the url "easiestml=en".

Anyway, with you are using XCL, try CubeUtils module.
This module changes the system language also.
Votes:8 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2009/7/28 11:23 | Last modified
leco1  Sergeant From: Porto Alegre  Posts: 93
Hi Gijoe

Welcome from your holiday

I intall cubeutils and now all is ok. This module can be seen running in:

http://sulinvest.com

and

http://mixmusicas.com


Again thanks for the tip

Votes:7 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2009/7/29 4:47
GIJOE  Gunnery Sergeant   Posts: 4110
hi leco.
I'm in Holiday, now
Votes:7 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2009/7/30 3:24 | Last modified
leco1  Sergeant From: Porto Alegre  Posts: 93
休暇では、サポートを提供する一方xoopers

そのためには、良い休暇
Votes:7 Average:10.00
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
Previous post - Next post | Parent - No child | Posted on 2011/8/20 23:03
malipalo  Private   Posts: 1
Hello everyone,

Excuse my English, I use a translator because I speak French.

First of all I must thank you for this wonderful module, I have long sought a reliable solution to make a multilingual site Xoops.

Site, a base, a domain: it's really better for the changes that two sites one French one English and so on.

I seem to see found a bug, or so I set something wrong, let me explain:

I use your module:
XC Legacy Version: XOOPS Cube Legacy 2.2

It works perfectly.

But this morning by making my translations [en ]..[/en], I noticed in the corner of the screen at the top left.

design [/en]

that has nothing to do there.

I translated the subject of a content with
[fr] conception [/fr] [en] design [/en]

page of the site in English with the error:
http://maison-parents.ch/modules/cours/index.php?content_id=4&easiestml_lang=en

The same page of the site in French but there is no error:
http://maison-parents.ch/modules/cours/index.php?content_id=4&easiestml_lang=fr

Is what I am faced with a bug or is it because I use XOOPS Cube Legacy 2.2 instead of Xoops?

I do not understand this error, I searched without finding the PHP code.

If you can help me on this problem please
I would be eternally grateful. For it is the site of one of my clients for whom I make the translation of these pages in English, and I hold on this problem, I can not find the solution.

Laurent Perret / Geneva - Switzerland
webmaster@incdata.net
Votes:3 Average:6.67

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!