Reply New Topic
2007/12/7 9:07:26
#1
Offline
Home away from home

"New" Feature: GiJoes Easy Multi-language

I mentioned to Marcan I'd like to propose we use GiJoes "Easiest Multi language" hack in the ICMS core.

Although there are probably better ways to achieve this at a later day, most multi-language methods work the same way - ie by language code "[en][/en]" etc... so this should not effect content overall.

Marcan proposed adding a setting to enable/disable this - with it being set to off by default.

What's everyone's thoughts?


2007/12/7 10:32:24
#2
Offline
Home away from home

Re: "New" Feature: GiJoes Easy Multi-language

Of course, I'm +1

_________________
Marc-André Lanciault
Founder and CEO INBOX International inc.
Co-Founder ImpressCMS

2007/12/7 11:09:25
#3
Offline
Home away from home

Re: "New" Feature: GiJoes Easy Multi-language

There may be a better method for the language support later on - but for now, this is generally thought to be one of the easiest methods to maintain.


2007/12/7 18:33:46
#4
Offline
Home away from home

Re: "New" Feature: GiJoes Easy Multi-language

I would like to volunteer myself to include this feature in ImpressCMS

_________________
Marc-André Lanciault
Founder and CEO INBOX International inc.
Co-Founder ImpressCMS

2007/12/7 20:41:19
#5
Offline
Home away from home

Re: "New" Feature: GiJoes Easy Multi-language

I just added it

So the EasiestMultilanguage is now part of the core or ImpressCMS.

I have added a new preferences category in General Settings, called Multilanguage Settings. There your can turn on or off the multilanguage feature. It will be turned Off by default.

You can have a look at the attached file to see these settings. These are basically the settings that could be configured in easiestml.php, but now, webmaster can do it via or more friendly form.

2 things.

1- In order to take care of the XOOPS preferences system, I add to move the inclusion of the eaisestml file from after the XOOPS_URL delcaration in mainfile.php to after the $config_handler creation in include/common.php.

I did not investigate the side effect of this. Can someone have a look at it ?

2- I add to create a record in config_category, and a few ones in config_items. We will need an upgrade script for this. Anyone have played with the previous XOOPS upgrade script ? Anyone could write it ?

Of course, your comments are always welcome !


Edited by davidl2 on 2008/1/18 15:04:35

2007/12/8 2:15:36
#6
Offline
Home away from home

Re: "New" Feature: GiJoes Easy Multi-language

Any new language differences?

We'll need to make a note on this for translations.


2007/12/8 2:19:32
#7
Offline
Home away from home

Re: "New" Feature: GiJoes Easy Multi-language

Kurak (Docs team) has asked for the Polish flag to be included - and asked if this fix was included.

Also: I've attempted to update from the latest release, on my test site - but updating the system module attempts to update another module already listed.


Edited by davidl2 on 2008/4/25 19:53:18

2007/12/8 3:51:26
#8
Offline
Home away from home

Re: "New" Feature: GiJoes Easy Multi-language

Thanks for adding the flag

Was the language fix included?


2007/12/8 4:01:21
#9
Offline
Home away from home

Re: "New" Feature: GiJoes Easy Multi-language

Quote:

Was the language fix included?


Yes, from what I could see, this was including by GIJOE in version 1.25 and I used 1.26. So we are good.

Quote:

Any new language differences?


yes. New constants in modules/system/language/english/admin/preferences.php

How should we handle language changes ? How could we make it easy for translators ?


2007/12/8 15:29:23
#10
Offline
Home away from home

Re: "New" Feature: GiJoes Easy Multi-language

Marcan - I can't seem to get this to work?


2007/12/8 16:16:23
#11
Offline
Home away from home

Re: "New" Feature: GiJoes Easy Multi-language

Yes, the upgrade script need to be done and the MySQL edited. I'm on it

_________________
Marc-André Lanciault
Founder and CEO INBOX International inc.
Co-Founder ImpressCMS

Reply New Topic extras
 Previous Topic   Next Topic
You can view topic.
You can start a new topic.
You can reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You can post without approval.