App_GlobalResources doesn't work in my web application
I created two resx files and add them to App_GlobalResources 开发者_StackOverflowfolder under my application.
here are the values
and here my label
So I changed the language settings in Internet Explorer
and it's not working. I only can see english version. Am I missing something?
Try renaming LocalizedText.es-mx.resx
to LocalizedText.es-MX.resx
If that doesn't work then, delete LocalizedText.resx
, this will let you know if it is a resource file look up issue.
Last resort, make sure your app pool is recycling.
精彩评论