O'Reilly logo

Windows Phone 8 Game Development 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

Localized strings

The rocket display feature does not require text to be presented in various languages, because you show just numbers representing the current level, remaining rockets, as well as the score. However, in other scenarios, you need to support localization. Thus, in this section, you will learn how to create the mechanism of getting localized strings which works in the native part of your game.

Concept

The mechanism stores translations data in text files, which are encoded with UTF-8. At the beginning, you need to create the LocalizedStrings.txt file that contains translations for the default language (English in your case). To add this file, you should choose the Add and New Item options from the context menu of the Assets directory, ...

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