locked
"PrimaryLanguageOverride" and application tile RRS feed

  • Question

  • The "Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride" parameter allows to change language for resources used in application, however it doesn't work for application tile. The live tile picture and name don't change after calling it to switch the language. The only way for user to see language change on the tile is to unpin tile, then pin it back (then everything will be updated as expected). Is it possible to solve this problem somehow?

    Please find solution sample to reproduce the problem - Link to an example.

    1 . After the first start of application – pin the tile to start screen.
    2. Press the button at center of application’s screen to change the language.
    3.  Close the app and start again.
    4 . You can see that language in application was changed as expected, but tile remained with old language.
    5 . If you manually change the size of tile on the start screen or unpin and pin it again — only then tile will be updated with new language.

    Is it a bug?How to make live tile updated with new language after calling "PrimaryLanguageOverride" without additional cumbersome user actions?

    • Edited by VKontakte Thursday, November 14, 2013 10:55 AM
    Thursday, November 14, 2013 10:00 AM

All replies

  • This makes sense to me. The tile doesn't know the app has changed until the app tells it so. You should be able to fire a tile update rather than unpinning and repinning it.

    --Rob

    Thursday, November 14, 2013 2:39 PM
    Moderator
  • XmlDocument x = new XmlDocument();
    x.LoadXml("{[any xml]}", new XmlLoadSettings());
    TileNotification not = new TileNotification(x); TileUpdateManager.CreateTileUpdaterForApplication().Update(not);
    Tried. Such code displays any notice on тайле but as soon as it comes to naught (dynamism of a tile is disconnected by the user, other notice comes), everything falls back into place.
    Friday, November 15, 2013 2:01 PM