cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <agri...@chromium.org>
Subject Re: Cordova g11n implementation - Changes proposal
Date Wed, 09 Apr 2014 14:47:39 GMT
Proposal sounds good to me!


On Tue, Apr 8, 2014 at 12:54 PM, Pascale Dardailler
<dardailler@fr.ibm.com>wrote:

> Hello,
>
> The globalization implementation of getLocaleName and getPreferredLanguage
> should return more consistent results across the different platforms, as
> it is very difficult to implement globalized applications. Looking at the
> issue database, other people have also been reported these
> inconsistencies, see:
> https://issues.apache.org/jira/browse/CB-4602
> https://issues.apache.org/jira/browse/CB-4822
>
> In order to improve consistencies and ease development, we propose the
> following:
>
> For getPreferredLanguage,
> Android should not return the localized language name,
> It would be better to have each platform return zh-Hant and zh-Hans to
> differentiate Traditional from Simplified Chinese, and same for any
> language that needs to be differentiated from the base language. It seems
> that iOS implementation is the correct one.
> Need to change the documentation
> For getLocaleName
> WindowsPhone 8 implementation is incorrect. Returning country code is not
> enough.
> A bcp47 compliant locale should be returned, although it could be OK to
> use underscores instead of dashes (as this can easily be managed at a
> higher level).
> Need to change the documentation.
>
> Another solution could be to create new APIs...
>
> Please let us know what your thoughts are, or if you have any objection to
> this proposal.
> Thanks,
>
>    Pascale.
>
> Pascale Dardailler
> IBM Worklight, Dojo Toolkit  & ILOG Visu G11n Focal Point
>
>
>
> Sauf indication contraire ci-dessus:/ Unless stated otherwise above:
> Compagnie IBM France
> Siège Social : 17 avenue de l'Europe, 92275 Bois-Colombes Cedex
> RCS Nanterre 552 118 465
> Forme Sociale : S.A.S.
> Capital Social : 655.732.332,20 €
> SIREN/SIRET : 552 118 465 03644 - Code NAF 6202A
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message