Integrate Pontoon into www-dev.allizom.org

VERIFIED FIXED

Status

www.mozilla.org
Pages & Content
VERIFIED FIXED
3 years ago
3 years ago

People

(Reporter: mathjazz, Assigned: pmac)

Tracking

Development/Staging

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
Please integrate Pontoon (http://pontoon.mozilla.org/) into https://www-dev.allizom.org, so we can localize Mozilla.org in place.

1. Please link the following script from your HTML <body> element:
<script src="https://pontoon.mozilla.org/pontoon.js"></script>

2. If using CSP, please make sure that loading your website inside iframe and loading remote CSS and images is permitted for domain pontoon.mozilla.org.

Full docs:
https://developer.mozilla.org/en-US/docs/Implementing_Pontoon_Mozilla
Assignee: nobody → pmac
Status: NEW → ASSIGNED
integrate in all staging instances + demo servers, not just dev-allizom.
(In reply to Pascal Chevrel:pascalc from comment #1)
> integrate in all staging instances + demo servers, not just dev-allizom.

Was planning on doing www-demo* and www-dev, but not stage (www.allizom) since that is supposed to exactly mimic prod, and thus has the "DEV" flag "False". Is that good enough?
(In reply to Paul McLanahan [:pmac] from comment #2)
> (In reply to Pascal Chevrel:pascalc from comment #1)
> > integrate in all staging instances + demo servers, not just dev-allizom.
> 
> Was planning on doing www-demo* and www-dev, but not stage (www.allizom)
> since that is supposed to exactly mimic prod, and thus has the "DEV" flag
> "False". Is that good enough?

Yes that's fine.
Created attachment 8629002 [details] [review]
Link to Github pull-request: https://github.com/mozilla/bedrock/pull/3094

The pull-request is in. Let's make sure we're happy with how this is being done.
(Reporter)

Comment 5

3 years ago
LGTM

Comment 6

3 years ago
Commits pushed to master at https://github.com/mozilla/bedrock

https://github.com/mozilla/bedrock/commit/14e18d3726c09379b1af21b326885848371fe3b2
Fix bug 1179847: Support pontoon.m.o in dev mode.

https://github.com/mozilla/bedrock/commit/2c59c8df4f6d2ded21f90b16d7ed7ad188389547
Merge pull request #3094 from pmclanahan/support-pontoon-1179847

Fix bug 1179847: Support pontoon.m.o in dev mode.

Updated

3 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
:mathjazz: This should be live on www-dev.allizom.org within 10 minutes or so of this comment. Let us know how it goes. It will also be usable on any of the www-demoX.allizom.org sites as well as soon as a branch containing the new changes is deployed to them.
(Reporter)

Comment 8

3 years ago
Thanks, I just tried loading www-dev.allizom.org inside Pontoon and everything works as expected.

Next, a bit of fine tuning is needed on Pontoon side to make in place localization more pleasant experience for localizers, and then we can enable it on Pontoon production server.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.