Tuesday, June 14, 2011

Localizing Windows Phone 7 ApplicationBar

In order to provide a seamless user experience on your Windows Phone 7 you also have to localize the ApplicationBar within your app.

First, you will encounter that the ApplicationBar on the Microsoft.Phone.Shell namespace is not an usual UIElement and therefore can not be named via
x:name
The second thing you will recognize is that the ApplicationBar property of an PhoneApplicationPage is not initialized due the usual InitializeComponent method.

On my search over the internet I spotted some suggested hints, but often the solution is obvious.

Localizing Silverlight toolkit for Windows Phone 7

Due my localization adventures of my apps for Windows Phone 7 I spotted out an library to get the toolkit for Silverlight localized.

You could do this easily by yourself but Peter Foot already provides a zip with needed resource files. It's available on Localised Resources for Silverlight Toolkit Nov 2010