[opencms-dev] OpenCMS 6.0-alpha2 Multi-language support
Hartmann, Waehrisch & Feykes GmbH
hartmann at waehrisch-feykes.de
Wed Nov 24 14:06:01 CET 2004
Hi Alex,
>
> Ok but it could be made working, with only some slight changes on the
static
> export and probably an extension of the locale handler interface. I could
> support the work on the core base here. My question is that if you have
> organized your site in a way that one page serves "multiple" languages on
> one URL (using headers to pull the right language on request), what
language
> are you going to static export then? 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...)
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.
Regards,
Stephan
More information about the opencms-dev
mailing list