[request] Add an Option to 'Disable link' rather than only remove link.

Created on 16 October 2020, over 4 years ago
Updated 24 March 2023, about 2 years ago

Problem/Motivation

Using this module, I can either show language links in the switcher, or remove the links when the corresponding entity is untranslated.

BUT: if you don't filter links, you will end up with strange behavior redirecting the user to something else than the translation he thinks (not to mention the hreflang issue described in the module description).
On the contrary, when the user arrives on a page from say google, if the language link is removed, he might not be aware that this website has potentially the language he would like, just not on this page specifically.

Proposed resolution

I offer to expand the "Remove the links to untranslated content" option to become a "Filter the links to translated content" which would have three options:
- do nothing
- remove the link
- disable the link

Feature request
Status

Postponed

Version

4.0

Component

Code

Created by

🇫🇷France Dom.

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.

Production build 0.71.5 2024