The Resx Localizability Sample

The source code for this sample is located in the Localizability directory of the WPUnleashed.Examples project, in the downloadable sample code.

The sample for this chapter demonstrates how to leverage resource files to support multiple UI languages. The interface allows the user to set the application thread’s culture value via a ListBox (see Figure 19.4). The interface includes fields to demonstrate the various culture-dependent data formats, such as currency, as well as demonstrating the use of a localizable image.

Image

FIGURE 19.4 The Localizability sample demonstrates how to change the UI language at runtime.

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.