Your fastest solution?????????

Probablyu to create a structure within which you populate the language
translations.

I've worked on multi-lingual apps before, where each phrase was given a
'key'. This key was used to select the language necessary. If you are
looking for massive performance, then I would suggest a structure stored
on the server.

This structure would be built in your application.cfm with a check to see
if the structure already exists. Any page would deliver output using the
reference to the key.

Another option:
You should consider creating a tag that takes a phrase and looks up the
phrase (with a language attribute) for you. If it does not find it, it
inserts the phrase into the table and flags it as needing translation.
This could simplify your code i.e. 

<cf_lang>Yes Yes Yes</cf_lang> would come out Nein Nein Nein (if the
language was german) and if the translation was not found would
append/prepend {} to it to indicate translation being needed.

Of course you would have to set up one for images as well!

Hope that helps.

-----Original Message-----
From:   Javalenzuela [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, January 16, 2001 1:11 PM
To:     CF-Talk
Subject:        big translation

Hi guys,

I work in a Internet company (startup?) and we have +-600 CFM files  (some
with fusebox).
Now, we are thinking to switch the website in 2+ languages (we are in
Europe) but we don't know what is the best
way to do this. I mean, something with few performance penalties and
flexible enough to have several languages later (at beggining we only want
2 languages)

some questions:
- May I use BD to choose and retrieve all the text messages ?
- May I enhance the pages with more intelligente in order to they can
translate in each web request ?
- what about to copy and translate each page in a off-line mode ?

Anyone has some experience in this matter?
Do you know links or URL about ?

Any help is useful... (i want to make the rigth decision)

thanks in advance,

~Juandres
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to