[opencms-dev] (6b2) Multilanguage XML Selection

Jorge González informatico at hotelparadisepark.com
Fri Apr 22 21:26:27 CEST 2005


Hi Pals:

Thinking about multilanguage xml content editor...

1. Is there any method to assign a localized id to the field names, that is

---blah blah---
<xsd:complexType name="OpenCmsXX">
		<xsd:sequence>
			<xsd:element name="release" type="OpenCmsDateTime" maxOccurs="1" />
---blah blah---

could be

---blah blah---
<xsd:complexType name="OpenCmsXX">
		<xsd:sequence>
			<xsd:element name="release" show="${key.release}" type="OpenCmsDateTime"
maxOccurs="1" />
---blah blah---

2. Is there any method to make the "Selection" widget depend on the selected
language and not depend on the native browser language. If the content
editor selects "Spanish" as the content language, he should select the
content from a spanish option list.
Another option is to include one language neutral "key" and a localized
"value" so the selectio could be...

---blah blah---
<default element="category"
value="${key.category1}|${key.category2}|${key.category3}"/>
---blah blah---


Thanks.




More information about the opencms-dev mailing list