Closed Bug 785535 Opened 12 years ago Closed 12 years ago

Restrict languages available for marketplace.m.o

Categories

(Marketplace Graveyard :: General, defect, P1)

defect

Tracking

(Not tracked)

VERIFIED FIXED
2012-09-06

People

(Reporter: clouserw, Assigned: andy+bugzilla)

References

Details

Marketplace currently shows all the locales available on AMO.  We're targeting only English (US), Portuguese (Brazil), and Spanish for the first launch and those are the only three which should be available to the end user (both in the dropdown and via detection).  Even making a new MARKETPLACE_LANGUAGES would be fine.

CCing cvan in case he's already got code for this, but I don't think so.
Yeah, this seems fine. No, I don't have code for this.
Target Milestone: --- → 2012-09-06
https://github.com/mozilla/zamboni/commit/68d683
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
I see all the locales still listed in the Language dropdown. See http://cl.ly/image/3m203Y0M321l

Reopening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
IT fixed this.
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Changes to settings_local_base.py needed. Remove all the languages from the settings_local_base.py and add the following to both mkt and amo if you want the debug language:

AMO_LANGUAGES = AMO_LANGUAGES + ('dbg',)
LANGUAGES = lazy(lazy_langs, dict)(AMO_LANGUAGES)
LANGUAGE_URL_MAP = dict([(i.lower(), i) for i in AMO_LANGUAGES])
This broke how app manifest translations were parsed, now fixed: https://github.com/mozilla/zamboni/commit/770ca523d636af969efa1d090566034ad9a85109
You need to log in before you can comment on or make changes to this bug.