[opencms-dev] multi-language pages in 5.3.4
Martin Kuba
makub at ics.muni.cz
Wed May 12 18:50:01 CEST 2004
Alexander Kandzior wrote:
> Martin,
>
> this is controlled with the "locale" property.
> Set this property on the file or the folder (you might have to define it
> first).
> The value of the property must be defined in the "opencms-system.xml" file.
>
> Example (that works with the default settings):
>
> Create 2 folders "/german" and "/english".
> Create the "loacle" property definition by opening the properties of any
> folder, then choosing "Advanced" and then "Define...".
> Set the "locale" property on "/german" to "de" and on "/english" to "en".
> Create a file in "/german". Copy the file to "/english" using the "copy as
> sibling" function.
> Open the editor and add content ...
Good, that works. But when I export the folders (I have to
set property "export" to "true" on the folders, why ?)
the file that is supposed to be german has the english
content in it. Is it a bug or is it supposed to be that way ?
Or do I have to set something else ?
Also, without the static export, is it possible to serve
the correct language version based on browser's Accept-Language:
header ?
Martin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Supercomputing Center Brno Martin Kuba
Institute of Computer Science email: makub at ics.muni.cz
Masaryk University http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ mobil: +420-603-533775
--------------------------------------------------------------
More information about the opencms-dev
mailing list