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).

Image

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

Image

FIGURE 19.2 By using ...

Get Windows® Phone 8 Unleashed 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.