xoops forums

mrphilong

Quite a regular
Posted on: 2013/8/30 13:32
mrphilong
mrphilong (Show more)
Quite a regular
Posts: 351
Since: 2006/7/14
#21

Re: The best approach for a multi-language XOOPS

I have created a custom html block with [mlimg], block shows [mling] not the variable languages that I set.

Mamba

Moderator
Posted on: 2013/8/30 23:39
Mamba
Mamba (Show more)
Moderator
Posts: 10838
Since: 2004/4/23
#22

Re: The best approach for a multi-language XOOPS

Describe in more details what you did, . This is not enough information to act on...

I have created a new custom block with "HTML" as selection, entered this content:

[en]English[/en]
[
pl]Polish[/pl]
[
fr]French[/fr]
[
de]German[/de]

And everything worked as it should, i.e. when I switched the language, the appropriate content showed up...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

mrphilong

Quite a regular
Posted on: 2013/8/31 2:33
mrphilong
mrphilong (Show more)
Quite a regular
Posts: 351
Since: 2006/7/14
#23

Re: The best approach for a multi-language XOOPS

I have installed easiestml, edit the easiestml.php for my languages. Created a custom html block with the tag [mlimg] which in theory should shows my two languages that defined in easiestml.php, but instead it just showing [mlimg]

Mamba

Moderator
Posted on: 2013/8/31 2:43
Mamba
Mamba (Show more)
Moderator
Posts: 10838
Since: 2004/4/23
#24

Re: The best approach for a multi-language XOOPS

OK, then Irmtfan is the best source of help for you then.

I use the xLanguage module, and that's what I was testing it with...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Mamba

Moderator
Posted on: 2013/8/31 2:43
Mamba
Mamba (Show more)
Moderator
Posts: 10838
Since: 2004/4/23
#25

Re: The best approach for a multi-language XOOPS

OK, then Irmtfan is the best source of help for you then.

I use the xLanguage module, and that's what I was testing it with...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

irmtfan

Module Developer
Posted on: 2013/9/2 4:12
irmtfan
irmtfan (Show more)
Module Developer
Posts: 3419
Since: 2003/12/7
#26

Re: The best approach for a multi-language XOOPS

@mrphilong:

[mlimg] should work in any html content like blocks, themes and templates.
are you install original hack or trabis module?
I recommend trabis version:
http://www.xuups.com/easiestml.zip

I assume you dont have issue in displaying content so please show us your configuration in easiestml.php
there should be this line for mlimg.
// tag name for language image  (default [mlimg]. don't include specialchars)
define('EASIESTML_IMAGETAG','mlimg');

mrphilong

Quite a regular
Posted on: 2013/9/2 6:56
mrphilong
mrphilong (Show more)
Quite a regular
Posts: 351
Since: 2006/7/14
#27

Re: The best approach for a multi-language XOOPS

I am using Trabis's version, it works on my localhost. My easiestml.php has the correct configuration, which:
define('EASIESTML_IMAGETAG','mlimg');

irmtfan

Module Developer
Posted on: 2013/9/11 13:10
irmtfan
irmtfan (Show more)
Module Developer
Posts: 3419
Since: 2003/12/7
#28

Re: The best approach for a multi-language XOOPS

That's strange. I think we should investigate it in depth.

1- please provide your server configurations include php, mysql, ...

2- please show us your whole easiestml.php codes here.

3- do you have any error_log file inside root?