Closed Bug 655305 Opened 13 years ago Closed 13 years ago

Language switcher doesn't list locale names

Categories

(Websites Graveyard :: markup.mozilla.org, defect, P1)

Firefox 4

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stas, Unassigned)

Details

(Keywords: l12y)

I think this had to do with the attachment 530471 [details] [diff] [review] from bug 652912.

::: ffdemo/settings.py
@@ +61,5 @@
>          from product_details import product_details
> +        return dict([(lang.lower(), product_details.languages[lang]['native'])
> +                     for lang in KNOWN_LANGUAGES])
> +
> +LANGUAGES = lazy(LazyLangs, dict)()

Austin, any specific reason why you changed the tuple to a dict?  I think this broke the lang switcher in the footer.
(In reply to comment #0)
This data structure is required by our middleware.
I'll look at updating the lang drop down.

Fixed in 
https://github.com/mozilla/markup/commit/9b6900b128999e759dd407cd82711d4525db8234
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Verified.  Thanks Austin.
Status: RESOLVED → VERIFIED
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.