Closed Bug 1337553 Opened 8 years ago Closed 8 years ago

Site ignores Accept-language header and always loads English version.

Categories

(support.mozilla.org - Lithium :: Localization, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1324426

People

(Reporter: zelitomas, Assigned: mdziewonski)

References

()

Details

(Whiteboard: [1st2weeks])

Whiteboard: [1st2weeks]
Hi Tomas, Thanks for reporting. We default to English for unlogged users for now. What happens when you set your SUMO user profile's language to Czech?
Flags: needinfo?(tzelina)
When you set the user settings to Czech, it works. But that is not possible when you are not registered yet. And if you are, you need to make the change in you user preferences. The language picker on the top is not enough.
Flags: needinfo?(tzelina)
I tweaked a small bit in the component and it seems to be working OK and as you requested on stage (https://support-stage.allizom.org/). We'll have this pushed later this week to prod. Let's see if that solves the issue. Thanks for following up!
I have tried in staging and after opening https://support-stage.allizom.org/ (in normal or private mode), the English version is loaded despite I have set the preferred languages to Czech and Polish and completely removed English from that list.
OK, that did not work as I hoped it would, then. Apologies for that. We'll have to dig a bit deeper... On the upside, the header image should now direct you to the top level of the locale you're using for the site (on stage).
CCing Madalina so that she can track all bugs related to user redirection.
Product: support.mozilla.org → support.mozilla.org - Lithium
Assignee: nobody → mdziewonski
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.