cordova-issues mailing list archives

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


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:
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: cordova-plugin-globalization
>            Reporter: Shazron Abdullah
> See parent issue.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message