(X) Hide this
    • Login
    • Join
      • Say No Bots Generate New Image
        By clicking 'Register' you accept the terms of use .

Instant language update in a Windows Phone 7 application using MVVM

(0 votes)
0 comments   /   posted by Silverlight Show on Mar 26, 2012
Tags:   windows-phone , data-binding , mvvm , mvvm-light , joost-van-schaik

Read original post by Joost van Schaik at .NET by Example

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!


Comments

No comments

Add Comment

Login to comment:
  *      *       

Our News on Twitter