Closed Bug 770965 Opened 12 years ago Closed 12 years ago

When switching language, the page content is not switched

Categories

(developer.mozilla.org Graveyard :: Editing, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Jeremie, Unassigned)

References

Details

(Whiteboard: u=user c=wiki p=3 s=2012-07-25)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/16.0 Firefox/16.0a1
Build ID: 20120619030538

Steps to reproduce:

I use the switching language dropdown selector **at the bottom of the page** in the footer from the page https://developer-new.mozilla.org/fr/docs/CSS/R%C3%A9f%C3%A9rence_CSS to switch to the en-US language 


Actual results:

I was send to https://developer-new.mozilla.org/en-US/docs/new?slug=R%C3%A9f%C3%A9rence_CSS&parent=1312 and asked to create this new page


Expected results:

Ether way (I have no opinion on what should be the right behavior) : I should be send to https://developer-new.mozilla.org/en-US/docs/CSS/CSS_Reference OR I should be send to https://developer-new.mozilla.org/fr/docs/CSS/R%C3%A9f%C3%A9rence_CSS with an English interface

If I use the language dropdown menu at the top left side of the page, I'm send from https://developer-new.mozilla.org/fr/docs/CSS/R%C3%A9f%C3%A9rence_CSS to https://developer-new.mozilla.org/en-US/docs/CSS/CSS_Reference which is the right behavior in that case.
Whiteboard: u=user c=wiki s=2012-07-18 p=
Would have to trickle up the translation relationships to the footer link to make this work. This is pretty messy to implement.
Whiteboard: u=user c=wiki s=2012-07-18 p= → u=user c=wiki s=2012-07-18 p=3
Whiteboard: u=user c=wiki s=2012-07-18 p=3 → u=user c=wiki p=3
Random question: Why do we have a language picker in the footer if we already have one near the top of the page? Is this to keep with some kind of convention?
(In reply to John Karahalis [:openjck] from comment #2)
> Why do we have a language picker in the footer if we
> already have one near the top of the page?

The language picker near the top of the page is not always there. It's only present on wiki pages that can be translated. Other pages do not have that language picker.

On the contrary, the language picker in the footer is always here, whatever the page is from the wiki or not.
Blocks: 773295
Priority: -- → P2
Whiteboard: u=user c=wiki p=3 → u=user c=wiki p=3 s=2012-07-17
Whiteboard: u=user c=wiki p=3 s=2012-07-17 → u=user c=wiki p=3 s=2012-07-25
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/0b00808fce12e6407fdda1d59f977cccbb10ffe5
fix bug 770965: Override language switcher in footer with document locales

https://github.com/mozilla/kuma/commit/bd405a69d546b412a2fb17ab77c8e96c17e189ff
Merge pull request #422 from lmorchard/wiki-footer-lang-switcher-770965

fix bug 770965: Override language switcher in footer with document locales
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Version: Kuma → unspecified
Component: Docs Platform → Editing
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.