[Go Faster] L10n for system addons (Page Shot in 54)
tspurway at mozilla.com
Tue Mar 7 21:29:20 UTC 2017
Here’s an etherpad with some notes we took on l10n and i18n:
Here’s our tracking bug for implementing l10n:
@flod was a big help getting us up and running quickly - I would seek out his advice early and often!
> On Mar 7, 2017, at 11:46 AM, Christopher Karlof <ckarlof at mozilla.com> wrote:
> The Activity Steam team recently when through the process of adding localization via Pontoon. Perhaps someone on the Activity Stream team can offer some suggestions?
> On Mon, Mar 6, 2017 at 5:46 PM, Jared Hirsch <6a68 at mozilla.com <mailto:6a68 at mozilla.com>> wrote:
> Hi all,
> I'm working on a localization plan for Page Shot in FF 54, and I'm curious if anyone on the list has suggestions (best practices or gotchas) related to l10n in system addons.
> Page Shot includes a WebExtension (in a bootstrapped addon wrapper) and a website. The site runs on nodejs and its views are built with react, while the addon's views are built using raw browser APIs (DOM built-ins + innerHTML). Both parts of the project live inside the same Github repo.
> The current draft plan is to connect Pontoon to the Page Shot Github repo to pull in translated strings, try out fluent-react for the server, and fluent.js for the addon. For language negotiation on both addon and server, we're going to try out the fluent-langneg library. This plan doesn't (yet) include anything specific to Page Shot shipping as a system addon. Feedback is very welcome :-)
> I also have two questions for folks on the list. First, for language negotiation, should the addon follow the user's content language preference, or should it match the UI language? Second, should we plan to ship one system addon containing all locales, or should we plan to build one addon for each locale?
> Finally, if you'd like to follow l10n progress in Page Shot, you can watch the BMO l10n kickoff bug or the l10n tracking bug in the Page Shot Github repo.
>  https://github.com/mozilla-services/pageshot/ <https://github.com/mozilla-services/pageshot/>
>  https://github.com/projectfluent/fluent.js/tree/master/fluent-react <https://github.com/projectfluent/fluent.js/tree/master/fluent-react>
>  https://github.com/projectfluent/fluent.js/tree/master/fluent <https://github.com/projectfluent/fluent.js/tree/master/fluent>
>  https://github.com/projectfluent/fluent.js/tree/master/fluent-langneg <https://github.com/projectfluent/fluent.js/tree/master/fluent-langneg>
>  https://bugzil.la/1344898 <https://bugzil.la/1344898>
>  https://github.com/mozilla-services/pageshot/issues/2205 <https://github.com/mozilla-services/pageshot/issues/2205>
> You received this message because you are subscribed to the Google Groups "pageshot-staff" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pageshot-staff+unsubscribe at mozilla.com <mailto:pageshot-staff+unsubscribe at mozilla.com>.
> To post to this group, send email to pageshot-staff at mozilla.com <mailto:pageshot-staff at mozilla.com>.
> To view this discussion on the web visit https://groups.google.com/a/mozilla.com/d/msgid/pageshot-staff/CAEuQoV5R_j11oWaA6TWt2-1Zc-VPjeaYR%3DKkFkJfJLBaULBjEw%40mail.gmail.com <https://groups.google.com/a/mozilla.com/d/msgid/pageshot-staff/CAEuQoV5R_j11oWaA6TWt2-1Zc-VPjeaYR%3DKkFkJfJLBaULBjEw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> You received this message because you are subscribed to the Google Groups "AS-team" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to as-team+unsubscribe at mozilla.com <mailto:as-team+unsubscribe at mozilla.com>.
> To post to this group, send email to as-team at mozilla.com <mailto:as-team at mozilla.com>.
> To view this discussion on the web visit https://groups.google.com/a/mozilla.com/d/msgid/as-team/CANmBg8rCSkuK5fq69FcQzV_HT9y4ennz%2B1nDK_3z1Pju1KFpVA%40mail.gmail.com <https://groups.google.com/a/mozilla.com/d/msgid/as-team/CANmBg8rCSkuK5fq69FcQzV_HT9y4ennz%2B1nDK_3z1Pju1KFpVA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gofaster