Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 16, 2012 08:09 AM by Angie xu - MSFT
Oct 31, 2012 10:55 AM|LINK
I'm using asp:Login control in my webpage, when I publish the website in the server, this control changes its language to english (should be spanish, the language I see when execute the site in my computer in local). I've been checking the Globalization
in IIS and culture reference is enabled. What else could be?
Nov 01, 2012 02:28 AM|LINK
the Globalization in IIS and culture reference specifies the default culture for processing incoming Web requests, it should be this reason that changes language to English.
hope it helpful.
Nov 02, 2012 12:58 PM|LINK
I specified the globalization on IIS and the culture properties in the website like shows the images below:
And still keeps english language ¿?
EDIT: I have this line added in the Web.Config:
<globalization fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8" culture="es-ES" uiCulture="es-ES"/>
Nov 06, 2012 01:25 AM|LINK
Before your setting as you did, you need resource files in your project, and you could follow the steps in the links below:
Using Globalization and Localization in ASP.NET
Globalization and localization demystified in ASP.NET 2.0
and set enableClientBasedCulture="true"
Hope it helps you.
Nov 16, 2012 07:23 AM|LINK
This is how I resolved the issue:
Added Globalization in the Web.config
Added Culture in the Global.asax
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("es-ES");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("es-ES");
In the server, I installed this package to spanish language dotNetFx40LP_Full_x86_x64es
Thank you Angie xu
Nov 16, 2012 08:09 AM|LINK
Congratulations! I’m glad to hear that you have solved this issue by yourself, and it is very appreciated to share your solution to us.
Welcome to post your question on this forum in your future programming.