.resx Localization not working with ASP.Net - C#

Jaztek

New Member
I've created two .resx files - WebResources.resx and WebResources.fr-FR.resx.Both contain ExceptionMessages_SignupWithCard.To test I did:\[code\]Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR");Response.Write("Current Culture is " + CultureInfo.CurrentCulture.EnglishName);Response.Write("<br>Message is: " + Resources.WebResources.ExceptionMessages_SignupWithCard);\[/code\]The problem is that I still get the ExceptionMessages_SignupWithCard message from WebResources.resx and not the one from WebResources.fr-FR.resx .Can someone please assist?Thanks.
 
Back
Top