I am working on a C # .NET application and I am localizing with resource files. I have resource files for specific crops, for example:
- MyResource.resx;
- MyResource.fr-FR.resx;
- MyResource.ja-JP.resx;
After creating the application, there are folders like fr-FR , ja-JP , etc. in the root folder of the application.
Can I move all files and folders of localization resources to the same folder, for example Languages ?
Update 1:
I solved this with the code below. It seems that when I copy the application to another location, it cannot load resources. As I can see, the application.config file should also be there. And if I create app.config as an embedded resource, it does not work.
Is there any way how to do this without the .config file needed in the same directory?
thanks
source share