cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sandstrom (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12723) Globalization - KEEP
Date Mon, 25 Sep 2017 12:55:00 GMT

    [ https://issues.apache.org/jira/browse/CB-12723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16178989#comment-16178989
] 

sandstrom commented on CB-12723:
--------------------------------

I know this is late, but I think it would make more sense to remove this plugin or change
its focus.

# Remove
JS-layer localization is advanced, and what this plugin provides isn't enough. Most people
will instead us one of the i18n plugins available in Ember, Angular or some other SPA-framework,
or something like moment.js. In its current state this is more like a JS-shim, it doesn't
provide anything that's mobile/native related (it's sort of like having a cordova plugin that
adds an ES6-shim, doesn't make sense).

# Change focus
Instead of removing it, one could also remove the JS-stuff and instead make it useful for
native-level translations. Basically the stuff that goes into InfoPlist.strings (iOS) and
strings.xml (Android). Things such as NSCameraUsageDescription and NSLocationUsageDescription
need to be localized. Right now we handle this via a custom script wired into the build-hooks.



> Globalization - KEEP
> --------------------
>
>                 Key: CB-12723
>                 URL: https://issues.apache.org/jira/browse/CB-12723
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: cordova-plugin-globalization
>            Reporter: Shazron Abdullah
>
> See parent issue.



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