If you want to customize the website globalization, the globalization element is best.
To change the language standard of your site, you can set crop and crop production correctly in web.config.
On Windows Azure, if you want to do this in the startup task, you will need to create a batch file ( ie global.cmd ) in which the following command can be executed:
Appcmd set config /commit:WEBROOT /section:globalization /culture: string Appcmd set config /commit:WEBROOT /section:globalization /uiCulture: string
Change the "string" to the desired locale code.
Finally, you can create a launch task defined in ServiceDefinition.csdef
<Startup> <Task commandLine="global.cmd" executionContext="elevated" taskType="simple" /> </Startup>
source share