Closed Bug 1179847 Opened 9 years ago Closed 9 years ago

Integrate Pontoon into www-dev.allizom.org

Categories

(www.mozilla.org :: Pages & Content, defect)

Development/Staging
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mathjazz, Assigned: pmac)

Details

Attachments

(1 file)

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.
The pull-request is in. Let's make sure we're happy with how this is being done.
LGTM
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.
Status: ASSIGNED → RESOLVED
Closed: 9 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.
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.

Attachment

General

Created:
Updated:
Size: