Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 06, 2012 09:55 PM by mmodrall
Dec 06, 2012 09:55 PM|LINK
I've inherited a project that has multiple language resource files. The .resx files have been mucked with by hand as well as programmatically, and there are a couple of quirks I was wondering about...
For example, our Resources.resx file has ResXFileRef's internal to it for all of the other supported languages (e.g.
<value>Resources.ko.resx;System.String, mscorlib, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>)
I would have thought the explicit fileref wouldn't be necessary in the file - that the compiler would file all of the .<lang>-<country>.resx versions and have produced the appropriate assembly. Was that thinking wrong?
Next, the Resources.resx file pulls in other resource files too - for example something called Notifications.resx. Apparently someone thought it would be worthwhile to modularize at some point in the past.
I can get that, but then there are ResXFileRef's in Resources.resx for all of the explicit translation versions of each module.
Are all of the explicit ResXFileRefs really necessary, or what that something a former coder hacked in by hand? Looks like the latter.