View Full Version : Languages

02-27-2007, 07:50 PM
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.



03-03-2009, 06:24 AM
I can do the french translation (http://www.fastfrenchtranslation.com/) . Where 's your translated file? You put it on this thread, I can do it.

Old Pedant
03-03-2009, 09:05 AM
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.