We do it by having a content table with a language field.
So you simply have to do.

Select * from contentItems where language= '#session.language#'

The site itself is split into separate folders for each language, so we
just dump the /english version into /french folder and translate menus
etc, the rest is automatic.

The alternate to have separate versions of the layout, is to us
evariables to store everything, all the menu texts etc.

Russ Michaels
Macromedia/Allaire Certified ColdFusion Developer
 
CFMX Hosting
Phone: 0845 456 3487
Tech Support: 0906 9607800
FAX: 0709 2212 636
WEB: cfmxhosting.co.uk
 
>Please use the support helpdesk on our web site to submit support
tickets.<

Join our ColdFusion Developer discussion lists.
Send an e-mail to [EMAIL PROTECTED]


> -----Original Message-----
> From: Allan Cliff [mailto:[EMAIL PROTECTED] 
> Sent: 06 October 2003 10:55
> To: CF - List
> Subject: [ cf-dev ] Multi-language site
> 
> 
> We are thinking of making a site multilanguage. Has anyone 
> any experience on this?
> 
> I did something a long time ago and i was planning to have a 
> text table and a language table. Then to either send all the 
> texts into the application scope and read them from cf memory 
> or call the db on every page?
> 
> I suppose it would depend on the size of the texts etc.
> 
> Anyone got any hands on experience. We are talking about a 
> site with more than 2 million hits per month.
> 
> Thanks
> 
> Allan
> 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to