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