Have kept this posting from CF-Talk for when I get round to doing our site -- may be of some use to you.
===start===== I originally thought a db was necessary but was talked out of it when I saw this method in action: Store a language set in name/value pairs in a text file, one set per language, like this: GoodMorning=Good Morning GoodDay=Good Day Goodbye=Goodbye GoodMorning=Guten Morgen GoodDay=Guten Tag Goodbye=Auf Wiedersehen Then read the file in via cffile as a structure on page load. All of the stock text on your page is the structure's output. This works blazing fast. I was really surprised to see how fast. In some cases 10ms or less to pull in a template's text. There's a lot more to this, like the exact retrieval code, mechanics of storage and allowance to automatically switch from one language to another with a click. Let me know if you want the gory details and I'll put up something more substantial. Happy Friday, -- ------------------------------------------- Matt Robertson, [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com ------------------------------------------- ====end=== -- Aidan Whitehall <mailto:[EMAIL PROTECTED]> Macromedia ColdFusion Developer Fairbanks Environmental Ltd +44 (0)1695 51775 Queen's Awards Winner 2003 <http://www.fairbanks.co.uk/go/awards> ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ -- ** 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]
