Hello,
I'm currently designing an application that must be localizable. I looked over the Net and on this forum, and I know that I must use Resources files :
This works if I creates those files and generate the Code.
But what I need is that a user, say from Italy, or Spain, can add his own Default.<his-language>.resx (or modify the Default.resx), and that the program must read the Resource file when opening the application.
Unfortunately, when I generate the EXE (and add that the resx file is copied to the bin directory), if I modify a value in the resx file, this value is not displayed on the program (the previous value is displayed).
So, is there a way to let the user modifies an resx file after the code has been compiled, and the program uses the value of the resx file ?
Thanks a lot for your help.
Note : One option for me is to create a TXT file and read the content of this file at the program startup, and put it in an Array. But I'd like to use the Resx files.
I'm currently designing an application that must be localizable. I looked over the Net and on this forum, and I know that I must use Resources files :
- Default.resx
- Default.fr-FR.resx
- Default.en-US.resx
- ...
This works if I creates those files and generate the Code.
But what I need is that a user, say from Italy, or Spain, can add his own Default.<his-language>.resx (or modify the Default.resx), and that the program must read the Resource file when opening the application.
Unfortunately, when I generate the EXE (and add that the resx file is copied to the bin directory), if I modify a value in the resx file, this value is not displayed on the program (the previous value is displayed).
So, is there a way to let the user modifies an resx file after the code has been compiled, and the program uses the value of the resx file ?
Thanks a lot for your help.
Note : One option for me is to create a TXT file and read the content of this file at the program startup, and put it in an Array. But I'd like to use the Resx files.