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)

defect

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
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.
let's add fr to AMO_LANGUAGES in prod
Assignee: nobody → mpillard
Severity: major → normal
Priority: -- → P3
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
Target Milestone: --- → 2013-06-20
Still reproducible in prod : http://screencast.com/t/x4FipIAWg9IS
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Prod hasn't been updated yet. It works on stage though : https://marketplace.allizom.org/developers/?lang=fr
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Okay , then I will mark it as verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.