Go Back   CodingForums.com > :: Server side development > Other server side languages/ issues > ColdFusion

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-27-2007, 06:50 PM   PM User | #1
cfmatt
New Coder

 
Join Date: Feb 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
cfmatt is an unknown quantity at this point
Smile Languages

Hi all,

Just need some direction on this:

I need to start applying and developing applications in French and English. What i mean is the GUIs that i develop need to translate to French or English not translating word for word just the complete text. For example "Part Number" would be translated as a whole phrase not separate translations for each word.
So what i need to do is have some sort of language lookup by detecting the users locale and then applying the appropiate language.

I am open to suggestions on the "best" way to do this. My first thoughts are database, having a base phrase and then a French translation. The only downside to this i guess is round trips to the db everytime a page is loaded.

My next thought was using xml. Storing paired values and outputting.

The last thought was some type of .properties file that also had a base value in english and then an equivilant French translation.

I dont want to use any automatic translaters and certainly dont want to create separate language pages.

So has anyone done this, what have they used or has anyone seen any methods on the internoodle.

Thanks

Matt
cfmatt is offline   Reply With Quote
Old 03-03-2009, 05:24 AM   PM User | #2
severytimes
New to the CF scene

 
Join Date: Mar 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
severytimes is an unknown quantity at this point
I can do the french translation . Where 's your translated file? You put it on this thread, I can do it.
severytimes is offline   Reply With Quote
Old 03-03-2009, 08:05 AM   PM User | #3
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,542
Thanks: 62
Thanked 4,054 Times in 4,023 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
If you care, the properties file methodology is what ASP.NET uses. It's built-in to the ASP.NET framework, so it's pretty easy to use.
Old Pedant is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:06 AM.


Advertisement
Log in to turn off these ads.