locked
Localization question - List of languages defined by user

    Question

  • Hi folks, I've been studying some stuff regarding ResourceContext object and I found my self with a question. I just want to understand this.

    I see this object

    Windows.Globalization.ApplicationLanguages.languages

    which returns a list of languages. I always understood that the list of languages is the one defined by the user under Control Panel --> Clock, Languages, and Region --> Language. But I found a case that broke my understanding. I added the Serbian Language (sr-Latn-CS) in the list but when I check the array retuned by ...ApplicationLanguages.languages I don't see the sr-Latn-CS over there. But I do see other languages that I included and event when I change the orders it gets reflected in the array.

    Was my assumption wrong? that ..ApplicationLanguages is the languages list under Control Panel?

    Thanks in advance

    Tuesday, October 09, 2012 9:09 PM

All replies

  • Yes. The assumption which you made is incorrect it is about the supported languages of your app and not device.

    For device you may use : Windows.System.UserProfile.GlobalizationPreferences.languages;

    Hope it helps ....


    Arindam Basu

    Thursday, November 15, 2012 6:10 AM