Click here to Skip to main content
16,020,345 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Sir,

I am using resources file to change the language of my Windows app, the problem is, when i compile it, the VS create a folder with only a file named "foo.resources.dll" for each language, like to this:
- /en_US/
- foo.resources.dll
- /es_ES/
- foo.resources.dll

How can i change resource filename and folder? i need create an structure similar to this:
- /Languages/
- en_US.dll
- es_ES.dll

Really appreciate your help!

Eric Fang
Posted
Comments
Philippe Mori 26-Jan-16 12:27pm    
As far as I can tell, if you want to do that you will have to add custom steps to build process to move the files at desired locations.

Also, in you application, you would need to write custom code to load and use the appropriate resources.

So in the end, it is a lot of effort for no benefits. The best solution is then to reconsider your requirements. Do you really want to invest extra time to do that while the default structure works perfectly well?

Why would you change that structure? One problem with your structure is that it assumes there is a single resources assembly...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900