cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reed Richards (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-13575) iOS Quirks: Internationalization of edit-config tags
Date Tue, 14 Nov 2017 21:26:00 GMT

     [ https://issues.apache.org/jira/browse/CB-13575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Reed Richards updated CB-13575:
-------------------------------
    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:

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

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

{code}
    <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 deine Kamera sind nötig</string-de>
        <string-fr>autorises-tu l'accès à ton appareil photo?</string-fr>
    </edit-config>
{code}

  was:
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:

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

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

{code}
    <edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">
        <string-en>need camera access to take pictures</string-en>
        <string-de>ja ja genau</string-de>
        <string-fr>c'est super</string-fr>
    </edit-config>
{code}


> iOS Quirks: Internationalization of edit-config tags
> ----------------------------------------------------
>
>                 Key: CB-13575
>                 URL: https://issues.apache.org/jira/browse/CB-13575
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: AllPlugins
>            Reporter: Reed Richards
>
> 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:
> {code}
>     <edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">
>         <string>need camera access to take pictures</string>
>     </edit-config>
> {code}
> 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
> {code}
>     <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 deine Kamera sind nötig</string-de>
>         <string-fr>autorises-tu l'accès à ton appareil photo?</string-fr>
>     </edit-config>
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message