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

Alexander Kandzior alex at opencms.org
Thu Nov 25 14:55:44 CET 2004


I currently don't really have any better idea either, 
yet I assume it me be possible to come up with a more elegant solution. 

As properties are internally now Objects, e.g. it may be possible to have
locale support on these Objects. 

The API could be something like this:

------------
CmsProperty prop = readPropertyObject("/index.html", "Title", false);

// current solution:
String title = prop.getValue();

// future solution:
String title2 = prop.getValue(Locale.ENGLISH)
------------

Quesstion is how to save this best in the DB, without creating too much
complexity.

Best Regards,
Alex.

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

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Olli Aro
> Sent: Thursday, November 25, 2004 2:20 PM
> To: 'The OpenCms mailing list'
> Subject: RE: [opencms-dev] OpenCMS 6.0-alpha2 Multi-language support
> 
> I have thought lately a lot about possible options for 
> implementing locales in properties / metadata and think the 
> only viable option is to use schema such as title_en, 
> title_de... What do others think?
> 
> Regards,
> 
> Olli
> 
>  
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.797 / Virus Database: 541 - Release Date: 15/11/2004
>  
> 
> 
> 
> _______________________________________________
> 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