[opencms-dev] multi-language pages in 5.3.4

Alexander Kandzior alex at opencms.org
Wed May 12 18:16:40 CEST 2004


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 ...

Best Regards,
Alex.

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


> -----Original Message-----
> From: opencms-dev-admin at opencms.org 
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Martin Kuba
> Sent: Wednesday, May 12, 2004 6:02 PM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] multi-language pages in 5.3.4
> 
> 
> Hi,
> 
> I am trying to use the multi-language feature in 5.3.4.
> 
> I found that I can specify languages in file 
> WEB-INF/config/opencms-system.xml that adds languages to 
> selection list in page editor. So I am able to insert 
> different language versions of the same page. That is fine.
> 
> However I don't understand how I can acces the different 
> versions. I always get the english version. When the page is 
> exported, only the english version is exported.
> 
> Can please anybody explain to me how this may work ?
> 
> Thanks
> 
> 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
> --------------------------------------------------------------
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 
> 




More information about the opencms-dev mailing list