[opencms-dev] OpenCMS 6.0-alpha2 Multi-language support

Alexander Kandzior alex at opencms.org
Wed Nov 24 14:30:08 CET 2004


> > Also there remains the 
> > issue with 
> > language based properties...
> 
> As i mentioned in my previous mail to this thread, an option 
> would be to move language based properties into page elements 
> as it is in the XML Content Demo article.
> In the editor they could be displayed as one row text fields 
> (or dependent on their type, i.e. OpenCmsString...)

Sure, but then the properties are no longer properties but XML content value
elements. Which could be ok for many use cases.
 
> For the static export i would suggest to export all language 
> versions! They could have the language in their names, i.e. 
> index.html would become index_en.html, index_de.html.... 
> Apache could handle this files out of the box.
> Links in static files that point to dynamic pages would need 
> an url parameter for the LocaleHandler, i.e. 
> dynamic.html?__setlocale=en. We have such a handler already 
> done. We just plan to extend it to react on browser accepted 
> language as default.

Sounds like a good idea.

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com




More information about the opencms-dev mailing list