I'm working on a C# .NET application and I'm performing localization with resource files. I have culture specific resource files like:
- MyResource.resx;
- MyResource.fr-FR.resx;
- MyResource.ja-JP.resx;
After building, in the application root folder there are folders like fr-FR
, ja-JP
and so on.
Is it possible to move all localization resource files and folders into 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 place, it can't load resources. As i can see, application.config file need to be there also. And if i make app.config as embeded resource, it doesnt working.
Is there a way, how to make this without the .config file needed in same directory?
Thanks