mozilla / addons

☂ Umbrella repository for Mozilla Addons ✨
Other
125 stars 41 forks source link

Language selector and language from URL are different #10316

Closed ValentinaPC closed 7 years ago

ValentinaPC commented 7 years ago

Steps to reproduce:

  1. Navigate to a page on your Android device i.e. https://addons-dev.allizom.org/en-US/android/themes/
  2. Change the language
  3. Go back to previous page

Expected results: Language listed in the page footer is the same as the one listed in the page URL.

Actual results: Different results are displayed.

Notes/Issues:

Verified on FF52(Android 6.0.1). Issue is reproducing all around AMO servers. Video for this issue: videotogif_2017 04 03_10 21 50

muffinresearch commented 7 years ago

This is typical browser behaviour, you returned to the old language url and the form is set to the same value you set it to when you navigated away.

tofumatt commented 7 years ago

I'm not sure why this is flagged as an enhancement; going back after a language change will reset the language and as @muffinresearch said is standard browser behaviour when a site's locale is in the URL.

I think we can close this; getting around it in any way would be a huge hack.