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

Forcing the current language

By default, the current language is automatically obtained, based on the settings of the operating system. However, sometimes you may need to programmatically force the current language, for instance, to allow a user to use an application in more than one language, which could be switched according to the user's needs. In this recipe, you will learn how to force the current language within the application.

Getting ready

To step through this recipe, you need the project from the previous recipe.

How to do it...

To add translations in another language and force the language to Polish in the application, you should perform the following steps:

  1. Translate the content to the Polish language. To do so, refer to the following steps: ...

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