Search code examples
iosvisual-studiocordovavisual-studio-cordovamulti-device-hybrid-apps

IPA language with Visual studio (Cordova)


I have a problem when I try to set the language of the IPA. My App is in French but only English is added in the generated IPA. I do not kwnow how to change this. I use visual studio with Cordova tools.

I have tried to add a locales folder but it changes nothing...

Do you have an idea of what I need to do in order to add French to the IPA?

Thanks for your help.


Solution

  • You would need to specify that in your Info.plist file. You are able to supply a custom Info.plist with your build.

    In your .plist file you will then be able to specify the localization as follows:

    <key>CFBundleLocalizations</key>
    <array>
        <string>English</string>
        <string>French</string>
    </array>
    

    To find out more adding custom configuration files, please have a look at MSDN's Platform-specific configuration files