Page 1 of 2

Multilanguage CMSMS MLE 1.5.4*

Posted: Fri Apr 10, 2009 11:26 am
by alby
History changelog here

Release in forge
Full version contain all languages
Base version contain en_US language only (see here for other translation packages)



Alby

Re: Multilanguage CMSMS MLE 1.5.4*

Posted: Fri Apr 10, 2009 11:36 am
by alby
For UPGRADE previous sites in order to be ready for (b) version or next releases

In 1.5.4 version there is a file gcb.php (in doc folder) for GCB conversion.
1. Move this file in your root installation (same folder of config.php and config_lang.php)
2. Calling from your browser. If DONE! you will see in GCB (p.e.): xxx-en_US, xxx-it_IT, ... (not enter in for edit!)

3. When you are ready for new method, update global_content tag in your templates. Substitute in your template(s):
  {global_content name='xxx'}
   with
   {global_content name="xxx-$lang"pay attention to double (and not single) quotes

   example:
   {global_content name='footer'}
   {global_content name="footer-$lang"}

   And update to b version (without GCB multilang) or new version


Alby

Re: Multilanguage CMSMS MLE 1.5.4*

Posted: Thu Apr 30, 2009 9:50 pm
by tovissy
Hello!

I recently installed CMSMS 1.5.4 MLE, and only after hours I realised that there is no multilangual GCBs. You wrote, that this was the last MLE edition, but myn it isn't MLE. What about the next versions, if there won't be any MLE GCB, how we can use in future  GCBs in ML sites?

We have to use from now on that sintax everywhere?

For example: at GCB names: sitename-it_IT and in code: {global_content name='sitename-it_IT'}

Thank you for clarifications,

Tovissy D.

------------------------------------------------

alby wrote: History changelog here for 1.5.4 and 1.5.4b

Release in forge
Full version contain all languages
Base version contain en_US language only (see here for other translation packages)
Diff file is VS CMSMS 1.5.4

PAY ATTENTION:
For NEW installation use 1.5.4b
For Upgrade use 1.5.4 (because 1.5.4b BROKE prev site) and READ the README.NEW file. I think that this is LAST version for GCB multilingual, next GCB are no longer multilingual


Alby

Re: Multilanguage CMSMS MLE 1.5.4*

Posted: Fri May 01, 2009 7:16 am
by alby
tovissy wrote: I recently installed CMSMS 1.5.4 MLE, and only after hours I realised that there is no multilangual GCBs. You wrote, that this was the last MLE edition, but myn it isn't MLE. What about the next versions, if there won't be any MLE GCB, how we can use in future  GCBs in ML sites?
humm I think that I am clear in Reply #1:

- add in GCB:
   sitename-it_IT, sitename-en_US, ......

- in your template use {global_content name="sitename-$lang"}

Alby

Re: Multilanguage CMSMS MLE 1.5.4*

Posted: Fri May 01, 2009 5:30 pm
by maxime
can we use $parent_lang instead of $lang in GCB ?

Re: Multilanguage CMSMS MLE 1.5.4*

Posted: Fri May 01, 2009 8:22 pm
by alby
maxime wrote: can we use $parent_lang instead of $lang in GCB ?
Yes but have not sense (it's no know in external; you see this in GCB and template only) and with $lang is MORE compliant

Alby

Re: Multilanguage CMSMS MLE 1.5.4*

Posted: Sat May 02, 2009 7:45 am
by groupewibi
Hi Alby,

I have try to make work GCB in MLE in 1.5.4 and 1.5.4b but i not enought qualify i guess to make it work. MLE seams now too difficult to implement for me. So i coming back to the 1.5.2 with the GCB manage directly in GCB management.

But i would like to know what was the benefit to manage GCB in our template ? I read the lastest change logs and all the message post about MLE 1.5.4+  and i don't quite understand why it's a benefit to pass in our template from {global_content name="xxx"} to {global_content name="xxx-$lang"} now. It was manage automaticly before and now we have to specify this new additional variable..

You said also than or a new install, we have to use the 1.5.4b. But in the README.FIRST of 1.5.4 and 1.5.4b, no instruction have been given to Alter table to add multilangual field for htmlblobs. Is that correct ? or some infos missing ? We don't have any more to alter table for htmlblobs ?

Thanks for you support Alby, and again, thanks for this essential module.

B regards,
John

Re: Multilanguage CMSMS MLE 1.5.4*

Posted: Sat May 02, 2009 8:26 pm
by alby
groupewibi wrote: I have try to make work GCB in MLE in 1.5.4 and 1.5.4b but i not enought qualify i guess to make it work. MLE seams now too difficult to implement for me. So i coming back to the 1.5.2 with the GCB manage directly in GCB management.
1.5.4 (no b) has same behavior of prev versions, you can use that

groupewibi wrote: But i would like to know what was the benefit to manage GCB in our template ?
Major benefit is that is closed to 2.0
GCB is not for html only but template vars, udt, etc..... sometimes is not simple manage all in multilang environment

groupewibi wrote: I read the lastest change logs and all the message post about MLE 1.5.4+  and i don't quite understand why it's a benefit to pass in our template from {global_content name="xxx"} to {global_content name="xxx-$lang"} now. It was manage automaticly before and now we have to specify this new additional variable..
I don't think that it's so problematic.
If you use gcb.php in doc folder of 1.5.4, this create new GCB's for you. There is a problem if you have many and many templates ...
I can think something that if there is not name-$lang system call name (sorta of default) but I ask Ted first

groupewibi wrote: You said also than or a new install, we have to use the 1.5.4b. But in the README.FIRST of 1.5.4 and 1.5.4b, no instruction have been given to Alter table to add multilangual field for htmlblobs. Is that correct ? or some infos missing ? We don't have any more to alter table for htmlblobs ?
Infact you don't must alter htmlblobs table, this remain same of original

Alby

Re: Multilanguage CMSMS MLE 1.5.4*

Posted: Tue May 05, 2009 3:16 pm
by Peppe
Hey
I´m just in desperate help here wuth a new MLE install. I have gone through the documentation several times and the visual tutorials as well.

My problem is that I don´t get the different languages to switch between in front end, I just get the language which the page is.

I have English, Swedish and Finnish.

If I check "Show from DEFAULT_LANG if current lang is not ready" I get all languages but I also get all languages in the menu.

In admin I get all languages as well but the rows are "empty" for the languages not selected, are they supposed to show at all???

I hope I´m clear enough and I could get some help.

TIA. Peppe

Re: Multilanguage CMSMS MLE 1.5.4*

Posted: Tue May 05, 2009 7:50 pm
by alby
Peppe wrote: In admin I get all languages as well but the rows are "empty" for the languages not selected, are they supposed to show at all???
You must fill this languages, try to fill homepage in other languages then you see this languages

Alby

Re: Multilanguage CMSMS MLE 1.5.4*

Posted: Wed May 06, 2009 4:42 am
by Peppe
alby wrote:
Peppe wrote: In admin I get all languages as well but the rows are "empty" for the languages not selected, are they supposed to show at all???
You must fill this languages, try to fill homepage in other languages then you see this languages

Alby
I have filled the pages with content.

I must be something wrong since I don´t get MLE to work at all. Maybe this is not for a designer/non-programmer.

Re: Multilanguage CMSMS MLE 1.5.4*

Posted: Wed May 06, 2009 2:23 pm
by alby
Peppe wrote: I have filled the pages with content.
Are you sure?
If you enter in admin page you see content that you have entered?

Alby

Re: Multilanguage CMSMS MLE 1.5.4*

Posted: Wed May 06, 2009 3:42 pm
by Peppe
Yes. Im just testing around here and trying to follow the visual tutorials, I have reinstalled several times just to learn.
At the moment I have entered Test EN, Test SE and Test Fi in different pages and I see what I have entered.

Im not a programmer as I told you before and I think I do something wrong when configuring the databes and sql querys, Im not sure.

Thank you for the help so far by the way.

Re: Multilanguage CMSMS MLE 1.5.4*

Posted: Wed May 06, 2009 3:54 pm
by alby
Peppe wrote: Im not a programmer as I told you before and I think I do something wrong when configuring the databes and sql querys, Im not sure.
You must pay attention to errors from your SQL tool and check if screenshot of your table properties is same of VideoTutorial (apart different languages code)

In next version I add a automatic MLE installer

Alby

Re: Multilanguage CMSMS MLE 1.5.4*

Posted: Wed May 06, 2009 4:00 pm
by Peppe
Of course I follow the videotutorials almost frame by frame and looking for errors as well(none so far though") Problem not solved. It doesn´t matter that I use MAMP by the way?