different globalization result after publish

Category: visual studio lshtml


sergey vdovin (aka evolex) on Mon, 25 Mar 2013 17:25:46

Hello everybody

In the project properties i have default language - Russian.

In the development environment dates are in russian format.

In the test environment, after deployment, dates are in another format.

the difference i see:

Development: this.clientInformation.browserLanguage = "ru-RU" 

Test: this.clientInformation.browserLanguage = "ru" 

How to get the same globalization result in the test environment - what to check?

Thanks in advance.

Sergey Vdovin


Huy Nguyen MSFT on Thu, 28 Mar 2013 17:34:55

Hi Sergey,

I'm pretty sure the browser language is determined by OS language settings. For example, on IE 10 that would be Internet Options | Languages | Set Language Preferences, which will bring up the OS Language settings in Control Panel. If you're using IE 10, you can try the above steps and compare the dev machine with the test machine OS language.

Hope this helps,
Huy Nguyen