Here's a bit from the English language file:

// Account Activation
L_Activation_Action = "Activate";
L_Activation_Description = "To activate your account, please enter your
Email Address and Activation Code below.";
L_Activation_Complete = "Account Activation Complete";
L_Activation_Link ="If you cut and pasted or copied the link from your
Activation email, check to be sure the entire link was used.";
L_Activation_Already = "This User has already been activated.";
L_Activation_Proceed = "You may now post messages.";

Now, in the application, wherever I would put "Account Activation
Complete" for example, instead, I put #L_Activate_Complete#...

Now that you mention it, it may be simpler (in terms of naming, etc.) to
put them into a structure... Hmm...

> If you put the strings into a file, how where you able to load them into a
> variable (i'm guessing a structure) inside your program.
>
> -----Original Message-----
> From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 01, 2001 8:28 PM
> To: CF-Talk
> Subject: Re: Multi language support.
>
>
> The direction I'm taking with SMB (simplemessageboard.com) is to move all
> the displayed strings into variables that reside in a single "language"
> file, like english.lang.
>
> Using CFPARAM you can then establish a default language and
> use a url variable to change language on the fly that you then make sticky
> with a cookie.
>
> It's simple and makes translating easy and portable.
>
> > I am looking into solutions (use of XML or any) for
> > changing the application (built in cf)(such as
> > shopping cart,Catalog) to support multiple languages.
> > Our management do not prefer any content management
> > solutions. but we are planning to build our own.
> > Your help is appreciated.
> >
> >
> >
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to