Duration: 16 minutes
Summary: In the video, we talk about localization. When creating a web site, you might have users from all over the world. Every user would prefer to see text, dates, and currencies in a language that he/she can understand. For that purpose we use the Culture and UICulture classes. The Culture class helps us with string, date, and currency formatting. And the UICulture class helps us with which resource files are loaded for the page. We will see how we can set the Culture and UICulture manually for a page. Then how we can set that for all pages using web.config. Then we will see how to set the Culture and UICulture using auto-detecting the information coming from the browser (Request). Finally, we will see how to get the languages from the browser (Tools – Internet Options – Languages) and display them on the page.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: ASP.NET and Visual Studio 2010
Keyword: ASP.NET 4, Visual Studio 2010, Culture, UICulture, web.config, Request, UserLanguages, DataBind, DataSource, DateTime.