Visual studio feeds

All Visual Studio blogs in one place


Enter your email address:

Delivered by FeedBurner

Increase your website traffic with



Anti-spam: How many eyes has a typical person?

Follow us on FB


Instant language update in a Windows Phone 7 application using MVVM

AddThis Social Bookmark Button
With more and more Marketplaces being added to the Windows Phone ecosystem, globalization of your app becomes all the more more important. I am happy to see a lot of apps these days support multiple languages. I usually employ a solution described in my article MVVMLight based language selection for Windows Phone 7 – this automatically picks up the language from the phone and defaults to English/US if that’s not supported by the app. But I also like to give the user the chance to override the automatically selected language. I, for instance,
run the phone OS in English/US, but I’d like specific Dutch apps to run in Dutch, thank you. But if you follow the globalization example as described by MSDN using my code, that unfortunately requires the app to be restarted after applying the language change. Well, no more! The sample as provided by MSDN provides a localized string helper that looks more or less like this:namespace InstantLanguage.Resources { public class LocalizedStrings { public LocalizedStrings() { } private static AppResources localizedResources = new AppResources(); ...(Read whole news on source site)

Home : Blog List : .NET by Example : Instant language update in a Windows Phone 7 application using MVVM