Language switcher links are not displayed

Created on 28 March 2017, over 7 years ago
Updated 6 September 2023, 10 months ago

Problem/Motivation

Language switcher links are hidden when using this module.

E.g.
I'm on a node that has been translated to English and German.
I'm viewing the English version, node/123, the link to the German version is de/node/123.
This should be legitimate, because the link is pointing to the correct language. But because we are currently in the English language, this module denies access to the link.

Proposed resolution

Instead of using the current site's language to determine access. We should work out the language that will be used by the route.

Remaining tasks

Provide patch.

User interface changes

None

API changes

None

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom Leon Kessler

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡§πŸ‡·Brazil rodrigoeg

    I was not able to simulate this bug. I am testing on Drupal 10.
    I am using on a clean installation. If anyone has the steps of the configuration needed, could you please share more information?

Production build 0.69.0 2024