Localizing an ASP.NET Web Application

This section explains the main objects used when globalizing an ASP.NET web application and provides examples of their use. The topics covered are as follows:

  • web.config globalization section and its application

  • @Page directive and localization

  • The CultureInfo object

  • The string resource manager

By the end of this section, you will understand how to localize and globalize your web applications using ASP.NET and the tools it provides.

web.config Globalization Section and Its Application

The web.config file has a section in it specifically designed for use in localized and globalized applications. This section is the globalization section. An example of this section is shown in the following:

 01 <configuration> ...

Get Inside ASP.NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.