Closed
Bug 548717
Opened 15 years ago
Closed 15 years ago
The language switcher doesn't show selected language
Categories
(Websites Graveyard :: opentochoice.org, defect)
Websites Graveyard
opentochoice.org
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: stas, Unassigned)
Details
(Whiteboard: [0.75][1.0-fixed])
The language switcher code looks for the locale code in the URL and pre-selects the corresponding language in the language dropdown.
English posts ,however, don't have the locale code in their permalinks, so the language switcher just shows the first language on the list.
In 0.5 this was English so no-one noticed, but now that we order languages alphabetically (bug 548666), it's Bulgarian.
Reporter | ||
Comment 1•15 years ago
|
||
Another issue related to this:
1. go to http://opentochoice.org/es and click "read more"
2. change lang to "Polish". You should be on http://opentochoice.org/pl/2010/02/la-eleccion-del-navegador-web-importa/
3. change lang to English.
You'll get Spanish.
Reporter | ||
Updated•15 years ago
|
Severity: normal → major
Reporter | ||
Comment 2•15 years ago
|
||
Filed bug 548807 for the issue from comment 1.
The issue from comment 0 is present on both 0.75 and 1.0.
Whiteboard: [0.75][1.0]
Comment 3•15 years ago
|
||
The issue mentioned in comment 0 is now fixed for 1.0, please confirm if at this point it's mandatory to implement on 0.75
Comment 4•15 years ago
|
||
If it's simple to backport, I'm game for pushing that fix live today. It's not critical though.
Reporter | ||
Updated•15 years ago
|
Whiteboard: [0.75][1.0] → [0.75][1.0-fixed]
Reporter | ||
Updated•15 years ago
|
Summary: English permalinks don't include the locale code (/en/) and break the lang switcher → The language switcher doesn't show selected language
Reporter | ||
Comment 5•15 years ago
|
||
Marking this as fixed. I think it's OK if we change it on Tuesday in 1.0.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 6•15 years ago
|
||
Verified FIXED; I ended up correctly on http://opentochoice.org/2010/02/web-browser-choice-matters/ after following the steps in comment 1.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•