3

I created two resx files and add them to App_GlobalResources folder under my application.

enter image description here

here are the values

enter image description here

enter image description here

and here my label

enter image description here

So I changed the language settings in Internet Explorer

enter image description here

and it's not working. I only can see english version. Am I missing something?

  • Does it work when you add `<%@ Page UICulture="es" Culture="es-MX" %> ` at the top of page? – Zabba Aug 30 '11 at 06:51

1 Answers1

0

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.

rick schott
  • 21,012
  • 5
  • 52
  • 81
  • You meant to say "capitalize the `MX`" part, I believe. The dash before the `es` should actually be a `.`, right? – Zabba Aug 30 '11 at 06:45
  • It's should be right. I tried it also doesn't make any difference – Antuan Morris Aug 30 '11 at 10:48
  • Doesn't add up, if you have only one .resx file the MX version and you recycle the App Pool, it is either going to show you the right text or bomb. – rick schott Aug 31 '11 at 01:41