I have done exactly this using XML. All of the English text that appears on my 
site is held within tables in a SQL database. I have a Coldfusion interface for 
these tables that allows access to this text for translating into any language 
that I choose. From this same interface I then generate XML files for each 
language using the following naming convention, English.xml, Spanish.xml, etc. 
In my coldfusion page, where I want to display the relevant text I place a call 
to a translate function which does a search of the XML file that I specify and 
returns the appropriate text. This means that I have only one Coldfusion page 
that can be seen in many different languages. It is a little more complex than 
I have stated here but this is one method to do it. My site is a multi-lingual 
site and I display the required text based on the language that a user 
specifies. The only drawback that I have so far found with this method is that 
you sometimes get your text display screwed up depending on the size of the 
translated text, but this is a very small problem indeed, but I would suggest 
XML as a good solution to your requirements.
________________________________

From: Coleman, Brian [mailto:[EMAIL PROTECTED]
Sent: Thu 21/04/2005 17:32
To: CF-Talk
Subject: translating websites



I don't know if CF has any native way to do this, but the company I work
for is looking for a way to translate the website to Spanish.
Surely you wouldn't have to do a page for page translation?
If anyone has worked with doing this sort of stuff, let me know.

Thanks,
Brian




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:203832
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to