OK, so the scenario is this:

My app has an XML file. In here, there is an US English section, and a local 
translation. Later on, we might get more translations added on.

I have currently, set the XML up with a language order - WE,os,en-us - which 
would be the standard of the app. 

What I want, is to offer the end-user a way of choosing his interface language, 
no matter which localized/international version of the OS or WE he is running. 
I do understand, I would have to somehow gather the info, as to which languages 
are available in the XML file. Then, I guess, drop this into a listbox, and let 
the user make his choice.

Two questions araise:
1. Exactly what would be the water-proof way of collecting info as to which 
languages are available?
2. If now, the user chooses a language, is there an instruction I could give to 
the app, so as to have it change the language for the interface? Or, will I 
have to write a somehow lengthy routine to modify the XML file, to accomplish 
such user controlled language switching?

Thanks for your advice!

Reply via email to