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.
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.
mmodrall
Member
24 Points
50 Posts
.resx file reference question
Dec 06, 2012 09:55 PM|LINK
Hi...
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=2.0.0.0, 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.
Thanks
Mark