How to change cordova-camera-plugin language in iOS?

后端 未结 3 747
青春惊慌失措
青春惊慌失措 2021-01-02 09:58

I wish to change the cordova-camera-plugin language. Apparently it is dependent on a variety of things. My development environment is Tools for Cordova in Visua

相关标签:
3条回答
  • 2021-01-02 10:22

    For the records, it is working now (year 2020) :

    Setting the <widget defaultlocale="fr"> of the config.xml successfully update the CFBundleDevelopmentRegion of the xcode project.

    And therefore the expected locale (fr) is correctly used in the camera.

    0 讨论(0)
  • 2021-01-02 10:28

    If you go to the cordova-plugin-camera .plist file and comment out:

    <!-- <key>CFBundleDevelopmentRegion</key>
    <string>nl</string> -->
    

    Then the plugin will use the systems set language. This is likely the most practical solution.

    0 讨论(0)
  • 2021-01-02 10:43

    Just make the settings in Xcode. They will not be overwritten after you make another cordova build:

    UPDATE:

    If you don't have the entry «Localization native development region», then:

    – Go to info -> select your target

    – Right click on an existing key entry and choose Add Row

    – Type «Localization …», when Xcode autocompletes your input, then select under value your language.

    0 讨论(0)
提交回复
热议问题