Chapter 11. Localizing the Site

We live in a global community consisting of people from many countries. The term localizing refers to the capability to present a site in the language of the local user and to use the correct symbols for currency, decimals, dates, and so on. ASP.NET 2.0 added some new features to its arsenal for localizing a site that made localization a snap. The developer was free from writing clumsy code for managing multiple languages, locale settings, translated strings, and other resources that can be compiled into independent files that could easily be plugged into the site. The localization features in ASP.NET 2.0 also gave the developer the ability to add additional localization support even after the site had been deployed. With the release of the MVC framework, these same localization features are still available but should be customized to work under the Model-View-Controller design pattern. In this chapter you learn how to use these features in MVC to create a truly globalized site with little effort on your part.

Problem

These days, it seems that the word globalization is used everywhere. The beauty of the Internet and the World Wide Web is that you can reach anyone who has a computer and a phone line or some other sort of Internet connection, be it for fun, passion, business, or so on. Nevertheless, if you want to be able to communicate with people, you must speak (or write) a language the people can understand. Due to the great proliferation of English ...

Get ASP.NET MVC 1.0 Website Programming: Problem – Design – Solution now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.