Christian
Christian

Reputation: 7852

Can I get a list of supported languages in my Windows Phone app?

I'd like to get a list of the localized cultures in my app but haven't found a way to do this. Must I hard code it in the app or is there another way?

Upvotes: 0

Views: 182

Answers (1)

Mahender
Mahender

Reputation: 5674

You can read WMAppManifest.xml file for list of translated languages. Below snippet gives required details (might need to tinker little for your final outputs)

XDocument.Load("WMAppManifest.xml").Root.Element("Languages").Elements("Language").Attributes();

Upvotes: 2

Related Questions