Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13575

iOS Quirks: Internationalization of edit-config tags

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • AllPlugins
    • None

    Description

      With the release of the last plugins the 10th November 2017 (http://cordova.apache.org/news/2017/11/10/plugins-release.html) the usage of `edit-config` become a must to display the users the usage description of the required permissions

      As far as I understand, right now it's only possible to specify one `string` value for an `edit-config` tag, for example:

          <edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">
              <string>need camera access to take pictures</string>
          </edit-config>
      

      This isn't unfortunately enough for apps operating in several languages, therefore, it should be possible for each `edit-config` tags to specify multiple languages like

          <edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">
              <string-en>need camera access to take pictures</string-en>
              <string-de>die Berechtigungen für den Zugriff zu deiner Kamera sind nötig</string-de>
              <string-fr>autorises-tu l'accès à ton appareil photo?</string-fr>
          </edit-config>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            reedrichards Reed Richards
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: