Thursday, March 29, 2012

Set Culture

I would like to set the culture for my application to English.
I should change machine.config

How, does anybody know?

Thank you,
SimonHi..

You can configure application specific culture in web.config too..below
sample could help you. Also you can make a certain page culture specific by
adding
<%@. Page language="c#" Culture="en-US"%> on page directive..

For web.config file add <globalization>
<configuration>
<system.web>
<globalization
requestencoding="utf-8"
responseencoding=" utf-8"
fileencoding=" utf-8"
culture="en-US"
uiculture="en" />
</system.web>
</configuration
HTH

With Best Regards
Naveen K S

"simon" wrote:

> I would like to set the culture for my application to English.
> I should change machine.config
> How, does anybody know?
> Thank you,
> Simon
>

0 comments:

Post a Comment