Tuesday, August 9, 2011

Language processes during app submission

     Here are some issues that I faced when I submited windows phone Apps
and some solutions I have found:

common issues :
     After 7/18 App Hub update it appears that many are having difficulty entering the right default language, especially when updating the app. Picking a wrong default language can lead to multiple issues, the most common of which are:
Error 2003: The [NeutralResourceLanguage] attribute is missing on the entry assembly.
     This error indicates that you need to add NeutralResourceLanugage attribute to your XAP, recompile and resubmit. See above for information on adding the attribute automatically through Visual Studio UI.
Error 1047: An update cannot support fewer languages than the previous app instance supported.
Error 1048: A language supported in this XAP conflicts with a language that is already supported by another app instance for this app.
     This is most often caused by selecting improper neutral language when publishing an update. The language of an update needs to match the language of the updated instance. If the parent instance was marked as “English (International)”, you need to use[NeutralResourcesLanguage(“en”)], if it was “English”, use [NeutralResourcesLanguage(“en”)], in other cases use two-letter language name.