[opencms] Re: [opencms-dev] Locale
Stephan Hartmann
beffe at beffe.de
Tue Mar 15 13:11:07 CET 2005
You cannot create siblings of a folder. If you copy a folder with the option
to create siblings of all resources, the folder and all its subfolders are
still real copies. Only files become siblings. This still has the drawback
that if you create a new file / folder in one language, you have to create
the siblings / folders in the other languages by hand.
I'd suggest to implement a new LocalHandler that returns the locale just
depending on the host name.
Regards,
Stephan
----- Original Message -----
From: "Jorge González" <informatico at hotelparadisepark.com>
To: <bw at code-create.com>; "'The OpenCms mailing list'"
<opencms-dev at opencms.org>
Sent: Tuesday, March 15, 2005 12:26 PM
Subject: RE: [opencms] Re: [opencms-dev] Locale
> >One problem with this approach is, that if you add new content documents,
> you
> >have to create siblings in each language folder for these new documents.
> >And that is prone to errors.
>
> You only have to define one sibiling for each language, pointing to the
root
> content folder.
>
> /en/sibiling_to_root_folder
> /es/sibiling_to_root_folder
> /de/sibiling_to_root_folder
>
> /root_content/content1/dog.xml
>
>
> I remember there is a session property, to define default language
> navigation. I will search the mailing list ...
>
>
>
> _______________________________________________
> 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