windows - What are the best practices for building multi-lingual applications on win32? -


I have to make a GUI application on Windows Mobile, and want it to be a competent user to choose the language He wants to, or to choose the language automatically, I only consider using many DLLs with essential resources.

1) Without user intervention, is the preferred (default?) Way to automatically select the appropriate resource language for the application? Any samples?

2) Which options do I have to control which language / user should display?

3) If possible, how do I create a DLL which includes multiple language resources and then choose dynamic language?

For language # 1, you use the language identifier for the machine. For # 2, you can list the languages ​​that you support and when the user selects one, write a selection in a text file or registry (what is a registry on Windows Mobile is?). At startup, use the function # 1 only when there is no selection in the file or the registry. For the # 3, the way we do it is to have a resource DLL in each language, each of which has the same resource ID once you understand the language, the DLL for that language Load and the rest just works.


Comments