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

Gavin, Ben BGavin at SkylineTechnologies.com
Tue Nov 23 15:58:00 CET 2004


OK,
  I think I understand what you're saying, so that leads me to my next
question.  Since the new editor functionality easily allows you to
maintain multiple language content within the same "html file" in the
CMS, can you create a single "global" directory containing all those
files with all the language data embedded in it, and then create various
"symbolic links" to that directory setting the locale for each sym-link
to point to that single content location?  Or am I going to be forced to
duplicate the actual content files in these separate directories?

Thanks!
Ben

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Alexander Kandzior
Sent: Tuesday, November 23, 2004 8:07 AM
To: 'The OpenCms mailing list'
Subject: RE: [opencms-dev] OpenCMS 6.0-alpha2 Multi-language support


> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Gavin, Ben
> Sent: Tuesday, November 23, 2004 2:20 PM
> To: The OpenCms mailing list
> Subject: RE: [opencms-dev] OpenCMS 6.0-alpha2 Multi-language support
> 
> Alexander,
>   Thanks for your reply.  If #1 below is true [and that
> appears to be how it was handled in version 5.x], then how do 
> you explain my findings with the __locale URL parameter?  

The URL parameter is also valid, even though it is intended to "force" a
specific locale to be displayed. It overrides the locale handler
setting. The parameter is in no way "carried forward" with the
<cms:link> tag, so this is certainly somthing you must have in mind.

As others have already pointed out, you can write your own locale
handler in case you need different handling (not with the property).
Handlers that user session parameters and / or browser locales come to
mind. The locale handler is also configured in opencms-system.xml, and
it's not overly hard to write a different one.

Best Regards,
Alex.

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





_______________________________________________
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