I have a class library called WEM.portal which used Resource files to localise text in my composite controls.
I store my resource files (eg MyResourceFile1.resx) in App_GlobalResources folder and then refer to them using
MyLabel1.text = My.Resources.MyResourceFile1.MyResourceKey1
This is all working ok until I create seperate files for each language such as MyResourceFile1.FR-fr.resx.
I have implemented this throughout my other web applications but the Class Library doesnt seem to want to work the same way
When I load the page it correctly showes the resourced keys which I have done through the web application BUT the resource keys in the composite controls does not seem to pick up the culture code.
Am I missing something stupid. Ive tried
- changing the Build Action on the resource file to Content and Custom tool to GlobalResourceProxyGenerator
- Creating a resourceManager but to no avail
View Complete Post