PEAK XOOPS - EMLH 1.21 and Xoops2.0.10/JP in englishin japanese

EMLH 1.21 and Xoops2.0.10/JP

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2005/6/16 8:07
monster  ÆóÅùʼ   Posts: 5
is the EMLH 1.21 works with xoops2.0.10/JP ?

I will use xoops 2.0.10 and the IPB1.4 Hb(forum) with a Multilingual Feature.

Iam from germany and my english is not so good.
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2005/6/16 9:53
GIJOE  ÀèǤ·³Áâ   Posts: 4110
EMLH is almost fully indepedent from the version of the core.

It will work fine with both 2.0.10 or 2.0.10JP
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2005/6/16 18:20
monster  ÆóÅùʼ   Posts: 5
i have insert this feature in my xoops ( localhost) and i cant switch the language.

Can you post a xoops 2.0.10 with this Feature ?
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2005/6/17 17:52
GIJOE  ÀèǤ·³Áâ   Posts: 4110
Perhaps, it is just an issue of usages.

Paste the top of your include/easiestml.php here.
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2005/6/17 17:58
monster  ÆóÅùʼ   Posts: 5
this is my include/easiestml.php

I must have german and english



<?php
/*** THE EASIEST MULTILANGUAGE HACK by GIJOE ***/

// CONFIGURATIONS BEGIN

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

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

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

// tag name for language image (default in englishin japanese. don't include specialchars)
define('EASIESTML_IMAGETAG','mlimg');

// make regular expression which disallows language tags to cross it
define('EASIESTML_NEVERCROSSREGEX','/\<\/table\>/');

// the life time of language selection stored in cookie
define('EASIESTML_COOKIELIFETIME',365*86400);

// CONFIGURATIONS END
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2005/6/17 18:22
GIJOE  ÀèǤ·³Áâ   Posts: 4110
OK.
With your setting, you can try the post.


[ mlimg][ xlang:en]english[ /xlang:en][xlang:de]german[/xlang:de]

(remove the space between "[" and "x"/"m")

And have you modified mainfile.php?
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2005/6/17 19:15
monster  ÆóÅùʼ   Posts: 5
So its not work on localhost.

Quote:

if ( !defined("XOOPS_MAINFILE_INCLUDED") ) {
define("XOOPS_MAINFILE_INCLUDED",1);

// XOOPS Physical Path
// Physical path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_ROOT_PATH', 'D:/apachefriends1.4.9/xampp/xampp/htdocs/xampp/testseiten/xoops');
define('XOOPS_ROOT_PATH', 'D:/apachefriends1.4.9/xampp/xampp/htdocs/xampp/testseiten/xoops');

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', 'http://localhost/xampp/testseiten/xoops');
define('XOOPS_URL', 'http://localhost/xampp/testseiten/xoops');
require XOOPS_ROOT_PATH.'/include/easiestml.php' ; // insert this
define('XOOPS_CHECK_PATH', 1);

Quote:
<?php
/*** THE EASIEST MULTILANGUAGE HACK by GIJOE ***/

// CONFIGURATIONS BEGIN

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

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

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

// tag name for language image (default in englishin japanese. don't include specialchars)
define('EASIESTML_IMAGETAG','mlimg');

// make regular expression which disallows language tags to cross it
define('EASIESTML_NEVERCROSSREGEX','/\<\/table\>/');

// the life time of language selection stored in cookie
define('EASIESTML_COOKIELIFETIME',365*86400);

// CONFIGURATIONS END
Votes:2 Average:5.00

question Re: EMLH 1.21 and Xoops2.0.10/JP

msg# 1.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2005/6/18 5:22
GIJOE  ÀèǤ·³Áâ   Posts: 4110
what do you mean "not work"?

Which ML string does not work?
Votes:0 Average:0.00

question Re: EMLH 1.21 and Xoops2.0.10/JP

msg# 1.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2005/6/18 6:00
monster  ÆóÅùʼ   Posts: 5
i cant switch the language can you say what is wrong ?
Votes:0 Average:0.00

question Re: EMLH 1.21 and Xoops2.0.10/JP

msg# 1.1.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - No child | Posted on 2005/6/18 17:52
GIJOE  ÀèǤ·³Áâ   Posts: 4110
OK.
Perhaps you are misunderstanding the meaning of the EMLH radically.

This hack allows you to describe multilingual strings instead of switching langauage files.
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!