Closed
Bug 884017
Opened 12 years ago
Closed 12 years ago
Developer Pages are not available in french anymore on production server
Categories
(Marketplace Graveyard :: Developer Pages, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
2013-06-20
People
(Reporter: gerard-majax, Assigned: mat)
Details
This https://marketplace.firefox.com/developers/?lang=fr used to work a couple of days/weeks ago. Now it stays in english. Development version works https://marketplace-dev.allizom.org/developers/?lang=fr
Comment 1•12 years ago
|
||
Interestingly, https://marketplace.firefox.com/developers/?lang=es works
| Assignee | ||
Comment 2•12 years ago
|
||
I spent some time on it but I am not sure if it's supposed to work and what changed from before.
From what I can tell, the code checks settings.LANGUAGE_URL_MAP to validate the language. That setting uses AMO_LANGUAGES, which is set to AMO_LANGUAGES = ('de', 'en-US', 'es', 'pl', 'pt-BR') in marketplace settings. That setting was changed one month ago to add 'de', but that's it. The validation code and the middleware code that deals with language haven't changed recently, except to stop storing cookies when dealing with API stuff.
-dev works because it has a custom AMO_LANGUAGES.
Comment 3•12 years ago
|
||
let's add fr to AMO_LANGUAGES in prod
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → mpillard
Severity: major → normal
Priority: -- → P3
| Assignee | ||
Comment 4•12 years ago
|
||
Fixed in https://github.com/mozilla/zamboni/commit/1f3a179bf59e0ad27dae162203f6f486fe25a008
Steps to reproduce:
- Load /developers/?lang=fr
- Check if the page is translated in french
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•12 years ago
|
Target Milestone: --- → 2013-06-20
Comment 5•12 years ago
|
||
Still reproducible in prod : http://screencast.com/t/x4FipIAWg9IS
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 6•12 years ago
|
||
Prod hasn't been updated yet. It works on stage though : https://marketplace.allizom.org/developers/?lang=fr
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•