eelisdotnet
Programmer
Hi
I'm trying to find the better way how to change between languages on windows forms UI. Currently we have 2 languages (more in the future).
There's a simple language selector which upon selection, rewrite all the UI text to the selected language. Dynamic text and messages are also to be written according to selected language.
We were thinking of keeping all static and dynamic text on a csv or xml file with the relevant var as an identifier. Then everytime you have to display a message, you open the file and look for the specific var and get the message according to language selected. That way is easy to manage all messages and to add new languages, but require processor time in open/close the file.
Any suggestion ... thanks!
I'm trying to find the better way how to change between languages on windows forms UI. Currently we have 2 languages (more in the future).
There's a simple language selector which upon selection, rewrite all the UI text to the selected language. Dynamic text and messages are also to be written according to selected language.
We were thinking of keeping all static and dynamic text on a csv or xml file with the relevant var as an identifier. Then everytime you have to display a message, you open the file and look for the specific var and get the message according to language selected. That way is easy to manage all messages and to add new languages, but require processor time in open/close the file.
Any suggestion ... thanks!