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

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
User avatar
seensite
Forum Members
Forum Members
Posts: 173
Joined: Sun Feb 10, 2008 7:36 pm

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

Post 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
Last edited by seensite on Thu Oct 16, 2008 7:08 pm, edited 1 time in total.
The universe of information technology is constantly growing and contains only emerging products built on successive patches
User avatar
seensite
Forum Members
Forum Members
Posts: 173
Joined: Sun Feb 10, 2008 7:36 pm

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

Post 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...
The universe of information technology is constantly growing and contains only emerging products built on successive patches
User avatar
seensite
Forum Members
Forum Members
Posts: 173
Joined: Sun Feb 10, 2008 7:36 pm

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

Post 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.
Last edited by seensite on Thu Oct 16, 2008 7:09 pm, edited 1 time in total.
The universe of information technology is constantly growing and contains only emerging products built on successive patches
alby

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

Post 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
User avatar
seensite
Forum Members
Forum Members
Posts: 173
Joined: Sun Feb 10, 2008 7:36 pm

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

Post 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
The universe of information technology is constantly growing and contains only emerging products built on successive patches
Locked

Return to “[locked] CMSMS MLE fork”