cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <agri...@chromium.org>
Subject Re: audit of configuration
Date Fri, 15 Nov 2013 16:27:08 GMT
Added jbondc to https://wiki.apache.org/cordova/ContributorsGroup. You
should have wiki edit access now.


On Fri, Nov 15, 2013 at 11:10 AM, Jonathan Bond-Caron <
jbondc@gdesolutions.com> wrote:

> On Fri Nov 15 09:28 AM, Josh Soref wrote:
> > Jonathan wrote:
> > > You should add:
> >
> > I'll add it to the wiki if no one beats me to it.
> >
> > Please feel free to edit this page or any other. If you don't have the
> wiki edit bit,
> > just send an email here with your account name and someone will give you
> the
> > bit.
>
> Thanks, who to ping? account 'jbondc'
>
> > > Another use case to consider for more cordova metadata:
> >
> > > cordova add language fr
> >
> > I'm new here, is that actually supported? I don't recall seeing it in the
> > documentation. (I'm well aware that the documentation needs work.)
>
> It's not supported, I'll create a wiki page ;)
>
> I'm not sure if it would fit into the globalization plugin or as a
> separate i18n plugin:
> i18n plugin (language bundles)
>
> i18n.loadData('fr_CA'); // either javascript mapping or exec() query for
> translation
> i18n.getText("Hello!")
> i18n.getTextCode("Hello!")
>
> Consider default cordova error messages:
>
> https://github.com/jbondc/cordova-plugin-media-capture/blob/6df2b2679a3d528a2691782f2b5f466abcc79d32/www/CaptureError.js#L47
>
> It would be nice to ship with default i18n bundles that translate these
> messages. It's quite a large scope but something I have experience with.
> What I'm thinking is 'add language' would add the i18n plugin + install
> language bundle for that platform.
>
> It's something to consider for the configuration & cordova metadata.
>
> E.g. On windows 8, 'plugman' could insert:
> package.appxmanifest
>   <Resources>
>     <Resource Language="en">
>     </Resource>
>     <Resource Language="fr">
>     </Resource>
>   </Resources>
>
> cli still has several 'gaps' to be fully useful.
>
>
>
>
>

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