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
-------------------------------------------

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to