- Posts: 1
- Thank you received: 0
How to change globalization settings in ASP.NET MV
- florencebush
- Topic Author
- Offline
- New Member
Less
More
8 years 11 months ago #13960
by florencebush
How to change globalization settings in ASP.NET MV was created by florencebush
Before, I host at
asphostportal.com
, I can setup globalization settings in the web.config in order to change the UICulture to en-US. For example:
<system.web>
<globalization culture="en-US" uiCulture="en-US" />
</system.web>
How can I do the same things in ASP.NET 5 (ASP.NET MVC 6) equivalently?
<system.web>
<globalization culture="en-US" uiCulture="en-US" />
</system.web>
How can I do the same things in ASP.NET 5 (ASP.NET MVC 6) equivalently?
Please Log in or Create an account to join the conversation.
8 years 10 months ago #13961
by Pete
DigiOz Webmaster
www.digioz.com
Replied by Pete on topic How to change globalization settings in ASP.NET MV
It looks like the same exact question was asked in this thread on the MSDN forum and there is an answer to it:
forums.asp.net/t/2048540.aspx?How+to+cha...gs+in+ASP+NET+MVC+6+
There is also a good article about ASP.NET MVC5 Internationalization here that you can read (it may be overkill for what you are trying to do):
afana.me/post/aspnet-mvc-internationalization.aspx
Let me know if this helps.
Thanks,
Pete
forums.asp.net/t/2048540.aspx?How+to+cha...gs+in+ASP+NET+MVC+6+
There is also a good article about ASP.NET MVC5 Internationalization here that you can read (it may be overkill for what you are trying to do):
afana.me/post/aspnet-mvc-internationalization.aspx
Let me know if this helps.
Thanks,
Pete
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
8 years 20 hours ago #14014
by manee
Replied by manee on topic How to change globalization settings in ASP.NET MV
Either add the following to your web.config file:
<system.web>
<globalization culture="en-US" uiCulture="en-US" />
</system.web>
or you can add this statement on the page:
<%@ Page uiCulture="en-US" culture="en-US" %>
Hope this will work
More about..... Globalization and Localization
Brian
<system.web>
<globalization culture="en-US" uiCulture="en-US" />
</system.web>
or you can add this statement on the page:
<%@ Page uiCulture="en-US" culture="en-US" %>
Hope this will work
More about..... Globalization and Localization
Brian
The following user(s) said Thank You: Pete
Please Log in or Create an account to join the conversation.
Time to create page: 0.118 seconds