Skip to content

Language Switcher is not working on Magento 2.2.3 #14674

Closed
@mariamghalleb

Description

@mariamghalleb

Preconditions

  1. Magento 2.2.3
  2. PHP 7.0.29

Steps to reproduce

  1. I had a Magento 2.2.1 with a website that has one store and two store's views (en and fr)
  2. On Stores -> Configuration -> Web , I set "Add Store code to URLs" to "YES"
  3. In front office, in the home page 'http://dev4.wetag.ca/) when I change the language it works. But when i'm in a different page such as "http://dev4.wetag.ca/index.php/en/name-tags.html" and i try to change the language from English to French it redirects back to the same URL.
  4. Since this was mentioned in here and it said it's been fixed in 2.2.2 I updated the Magento version from 2.2.1 to 2.2.3 and the problem is still there.

Expected result

  1. The store view changes when a user tries to, whether in the home page or in any other page on the website.

Actual result

  1. The store view only changes in the home page, in any other page, when the user tries to change the store view (the language) it doesn't work, it redirects back to the Home page with no errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: StoreFixed in 2.1.xThe issue has been fixed in 2.1 release lineFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Cannot ReproduceCannot reproduce the issue on the latest `2.4-develop` branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentProgress: doneReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions