Refreshing interface immediatly after PrimaryLanguageOverride RRS feed

  • Question

  • I want to write an article about localization, but I have a question.

    After I set a primary language in WinJs app

    Windows.Globalization.ApplicationLanguages.primaryLanguageOverride = "ru";

    I can refresh app with


    But in C# app it is needed to exit app an start it again (as I remember by guidelines that was needed to inform user about that he needs to reenter app)

    So, my question: is there any was to refresh app in C# without exiting?

    Monday, January 26, 2015 12:29 PM


All replies

  • Hi Programmer Sommer,

    Looks like there is no equal C# API that can do like WinJS.Resouce.processAll() on WinJS.

    However here is a quick solution: http://timheuer.com/blog/archive/2013/03/26/howto-refresh-languages-winrt-xaml-windows-store.aspx by listen to the language change event.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, January 27, 2015 6:55 AM
  • Thank you, Jamles!

    I have seen this post (Tim is well known person). And even have tried. But I was not sure that there are no other way in 8.1.

    But if you also think that there are no ability to refresh UI, then I can be sure.

    Tuesday, January 27, 2015 12:16 PM