Build world-ready Metro style apps using XAML

Sign in to queue


Ready to take your app global? We've designed a flexible architecture enabling developers to quickly create a fully localized Metro style app using XAML in a 'language pack' style of development. This session will show you how to easily localize string-based content in your app, fully localize your XAML layout, and quickly update your app by adding language support at any time.









Download this episode

The Discussion

  • User profile image

    There were some questions about fallback among regional variants. E.g., the app has strings for en-US and de-DE with de-DE as the ultimate fallback; but the user's preference is for en-AU. In this case, the en-US strings will be used. The system will look at the user's preference and infer a fallback chain that allows for regional variants. So, in the above example, it will assume a fallback chain as follows:

    • en-AU  (user's first choice, but not available in the app)
    • en        (region-neutral asset -- not available in this app)
    • en-*      (any other regional variant -- will pick up en-US in the app)
    • de-DE   (app's ultimate fallback)

    Note that, as explained by Tim Heuer, you don't have to declare the resources using a specific regional variant language tag. You can, instead, use a region-neutral tag like "en". And you can use any combination of specific-regional variants as well as a region-neutral variant.

  • User profile image

    How does the Uid property interact with primatives?. 

    All of the samples define the application title as a String resource in either the page or the App. There's a Uid property available on it, but I'm if I try to set it, I get a runtime exception for a missing resource. 

    Is there going to be some design time indication what is and isn't supported to avoid runtime issues later?

  • User profile image

    @MikeKenyon -- Hi mike can you ask this question over on the forums (  I know it is annoying to ask, but I want others to have the answer as well.

    UID support on primitives isn't supported, but this is something that I'll log a bug on to investigate.

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you canĀ Contact Us.