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
How to add a page only in 1 language - which is not default_lang?
How to add a page only in 1 language - which is not default_lang?
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
Re: How to add a page only in 1 language - which is not default_lang?
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...
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
Re: How to add a page only in 1 language - which is not default_lang?
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
Re: How to add a page only in 1 language - which is not default_lang?
Change, only for editing this page, the DEFAULT_LANG to language that you want and restore after or set always this language in DEFAULT.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.
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?
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
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