Page 1 of 1

How to add a page only in 1 language - which is not default_lang?

Posted: Thu Oct 16, 2008 5:58 pm
by seensite
Hello,

Running CMSMSMLE 141 I am trying to find out how to add a page only in 1 language - which is not default_lang - and not the parent language ? When I am adding a new page, it comes (obviously) in the default_lang - and when I insert a content in another language, then erase the content of the default_lang page I can't save it : "no content given".

Except this everything is working very fine, this CMSMS is a very great tool ! Thanks to all devs

Re: How to add a page only in 1 language - which is not default_lang?

Posted: Thu Oct 16, 2008 6:24 pm
by seensite
Well... I just found out, you stupid seensite :

Erase [ define('DEFAULT_LANG', 'en_US'); ] in config_lang.php
Erase [ 'parent'=>'en', ] in config_lang.php as well...

And that's it !
Good evening...

Re: How to add a page only in 1 language - which is not default_lang?

Posted: Thu Oct 16, 2008 7:07 pm
by seensite
It worked only while I was loged in. Loged out I had a warning that Default_lang wasn't defined... So the solution here up is wrong.

Re: How to add a page only in 1 language - which is not default_lang?

Posted: Thu Oct 16, 2008 9:01 pm
by alby
seensite wrote: It worked only while I was loged in. Loged out I had a warning that Default_lang wasn't defined... So the solution here up is wrong.
Change, only for editing this page, the DEFAULT_LANG to language that you want and restore after or set always this language in DEFAULT.
DEFAULT_LANG is the primary language of your site but it's not for all time

Alby

Re: How to add a page only in 1 language - which is not default_lang?

Posted: Thu Mar 05, 2009 4:26 pm
by seensite
Thank you Alby!

Sorry for my late answer

I saw a post saying this function adding a page in one language only will be included in v2.0. Let's look forward to!

Best regards