I have a windows form application that has various strings displayed as text labels that are currently assigned strings from a .resx file from within the project. I use a resource manager to look at the resource file I need:
ResourceManager rm = new ResourceManager("UICS_Client.english_Lang", Assembly.GetExecutingAssembly());
And then in a function the labels on the form are set to strings from the resource file:
adminTab.Text = rm.GetString("adminTab");
Then if the user needs the application to run in a different language I switch the resource file used by the resource manager.
rm = new ResourceManager("UICS_Client.chinese_Lang", Assembly.GetExecutingAssembly());
This works great but requires the resource file(s) to be within the project at build time. What I would like to do it have a solution where the form application can scan a folder on the users PC containing 'language files' which the application then reads in the language file selected by the user in a settings tab (the selected file would then be re-used each time the application runs). This is so I can later deploy the language files to users without having to rebuild and send out new versions of the software.
Has anyone done something like this and are there any suggestions for me to try?