[opencms-dev] Problem with Default-Creation of english content on Multi-Language site
Eska
sven.kiesow at interone.de
Wed Jun 17 21:30:05 CEST 2009
As far as I can tell, that is not the case! In my case, the locale for
english
was definatly filled by the system on reopening a newly created content-file
that before had only locale "zh" inside of the xml. I confirmed that before
by looking at the control code. And in addition only after reopening the
contentfile, there was a "[-]" only behind the german language and not
behind
the english and chines language in the ComboBox.
Eska
Joe Campedelli wrote:
>
> Even though the locales are empty they will all copy over until you
> edit them. A contentcheck on english locale with chinese should still
> return false.
>
> On Wed, Jun 17, 2009 at 8:43 AM, Eska<sven.kiesow at interone.de> wrote:
>>
>> Hi Guys,
>>
>> i am developing a multi-language site (English, German, Chinese) and I
>> just
>> encountered a strange thing with the content-editor in our OpenCms 7.0.5.
>>
>> I have an XML-Content whre i only want to have the Chinese Locale
>> entered.
>> German and English Locale should be left empty.
>>
>> After reopening such an XML-Content for Editing, The English language is
>> preselected
>> and the Chinese Content has been copied into the englisch locale part of
>> the
>> XML.
>> After Saving, now English and Chinese Content is present in the XML.
>>
>> Is that a Bug or a Feature? Can i somehow configure the Editing to not
>> create a "Default"-Content?
>>
>> The thing is, I need the possibility to only have chinese content edited,
>> because i want to determine
>> through something like
>>
>> CmsXmlContent xmlContent = CmsXmlContentFactory.unmarshal(cmsObj,
>> uriFile);
>> List foundLocales = xmlContent.getLocales();
>> boolean hasChinese = xmlContent.hasLocale(new Locale("zh"));
>>
>> if to show a News-Article only on the chinese News-Overview or not.
>>
>> Thanks,
>>
>> Eska
>> --
>> View this message in context:
>> http://www.nabble.com/Problem-with-Default-Creation-of-english-content-on-Multi-Language-site-tp24072887p24072887.html
>> Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please
>> visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
--
View this message in context: http://www.nabble.com/Problem-with-Default-Creation-of-english-content-on-Multi-Language-site-tp24072887p24080420.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
More information about the opencms-dev
mailing list