Chapter 06: Globalization and Accessibility - MCTS Exam 70-515

Lesson 1: Configuring Globalization and Localization

Using Local Resource Files

Naming Convention

DefaultPageName.aspx.resx Orders.aspx.resxUsed when there's no match for the user's language-culture 

1 A list of language and culture codes can be found at

2 "ES" is the language code for Spanish

3 "ES-MX" is the culture code for a Spanish (Mexico).

Attaching Resources

Using Global Resource Files


The following references the WelcomeString resource entry in the SharedLocalizedText resource file.

<asp:Label ... Text="<%$ Resources:SharedLocalizedText, WelcomeString %>" ></asp:Label>

WelcomeLabel.Text = Resources.SharedLocalizedText.WelcomeString;

Lesson 2: Configuring Accessibility