O'Reilly logo

Windows Application Development Cookbook by Marcin Jamro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Localizing content in XAML

In the previous recipes, all the pages are only in English. It means that people who do not know this language may have serious problems using the solution. Fortunately, the localization of your application is really simple, thus it can support multiple languages. You will learn how to do this in this recipe.

Getting ready

To step through this recipe, you only need the automatically generated project.

How to do it...

To create a page with the form of adding a new entry and prepare localized resources (currently only in one language), perform the following steps:

  1. Design the page, which should contain a header, textboxes for a title and content, and a button. To do this, adjust the content of the MainPage.xaml file as follows: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required