Working with Resx Files

To create a resx file, right-click a project node in the Solution Explorer and select Add and then New Item, or alternatively press Ctrl+Shift+A (see Figure 19.1).


FIGURE 19.1 Creating a new resx file.

After the first default resource file has been created, enabling support for alternative languages is achieved by adding a new resource file for each additional language (see Figure 19.2) and by employing the following naming convention:

<Name of the default language resource file>.<Culture Name>.resx


FIGURE 19.2 By using ...

Get Windows® Phone 8 Unleashed now with O’Reilly online learning.

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