Tony, 

What we did was using XML, and parse that XML on the first startup into
the application scope. After that all translations were available with
#request.language.uk.mylabel#.

If you want to add categorization to it, simply nest, and the call would
become.

#request.language.uk.dialogs.mylabel#

ASP.NET uses a similair system, only called within the scope
"resources".


Micha Schopman
Project Manager

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380

------------------------------------------------------------------------
------------------------------------------------------------------------
-----
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
de interactie met uw doelgroep. 
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
informatie zie www.modernmedia.nl 
------------------------------------------------------------------------
------------------------------------------------------------------------
-----

-----Original Message-----
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: dinsdag 22 maart 2005 3:19
To: CF-Talk
Subject: multi-lingual question

hola cftalk!

if you were making a website multi-lingual, how would "you"
do it?  my first idea, and what ive done so far, is to do this:

1. create an xml doc that has one node for each "word/group of
words/phrase/label" that appear on the web app.
2. read that xml doc into a persistent scope (Session right now)
3. display #session.label_fortyThree# where the words might be

is this the best? only? is there a better way?  im thinking that
loading both versions into application var structs (once on
application start), and then displaying like i was in #3.  im just
thinking outloud here, and kinda just looking for a "what do you do"
kinda answer.

thank ya!

-- 
tony

Tony Weeg

macromedia certified coldfusion mx developer
email: tonyweeg [at] gmail [dot] com
blog: http://www.revolutionwebdesign.com/blog/
cool tool: http://www.antiwrap.com

"...straight cash homey"
- randy moss, now a raider



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199647
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to