Hi, If you were implementing multiple languages and wanted to store all your text in multiple XML files (English.xml, French.xml, etc.) and each XML file had a structure like this:
<root> <resource name="ContactUs.PageTitle">Contact US</resource> <resource name="ContactUs.BodyTitle">Feel free to contact us</resource> ... </root> Would you create 1 CFC that loads the appropriate language file, and contains a getter FOR EACH text element (hundreds of getters)? Or would you make 1 generic getter that takes as an argument the full resource name? Is this generally a good way to go about implementing multiple languages? Cheers, Baz ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
