How to use Microsoft ASP.Net MVC in English?

Asked

Viewed 3,043 times

1

1 answer

3


Just install the package and set your globalization configuration as follows (Web.config):

<configuration>
  <system.web>
    ...
    <globalization culture="pt-BR" uiCulture="pt-BR" enableClientBasedCulture="false" />
    ...
  </system.web>
</configuration>

Done this, the automatic messages of framework should appear in English, including error messages.

Remembering that this package translates only part of the resources. A good part is here.

  • Is it possible to show automatically generated messages in en en ? for example " @Html.Actionlink("Details", "Details", new { id=item.Fonrecedorid }) "

  • This is something else, involving Scaffolding. If you need to, you can ask another question.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.