Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to disable translation links #31

Open
olafgrabienski opened this issue Nov 28, 2017 · 4 comments
Open

Add option to disable translation links #31

olafgrabienski opened this issue Nov 28, 2017 · 4 comments

Comments

@olafgrabienski
Copy link
Contributor

olafgrabienski commented Nov 28, 2017

We need the option to disable translation links on Backdrop4Good. (It's an important option for multilingual sites in general.)

By "translation links" I mean the language switcher links which are visible by default at the bottom of a node when there is a (published) translation of this node. Here's an example of my local Bd4Good site:

screen-bd4good-language-link

In Drupal 7, by using the "Multilingual content" submodule of the i18n module, there are two ways to disable these translation links:

  • Set the "Language" (pseudo) field on the Manage display page at admin/structure/types/manage/MY-TYPE/display to "Hidden".
  • Alternatively, go to the Node options tab of the Multilingual settings page at admin/config/regional/i18n/node, and enable the option "Hide content translation links".

The first way is part of Drupal 7 core, so iIt would be good to add it to Backdrop as well.

@olafgrabienski
Copy link
Contributor Author

This should be fixed in Backdrop core, so here is the core issue: backdrop/backdrop-issues#2910

@olafgrabienski
Copy link
Contributor Author

When the issue blocks further development we can hide the Language links via CSS as a temporary workaround. But let's see!

@olafgrabienski
Copy link
Contributor Author

Sorry, the option in question is not part of Drupal 7 core, sorry for for incorrect information! (Have modified the issue description and changed the labels respectively.)

@olafgrabienski
Copy link
Contributor Author

In the meantime, we have good working PR in the respective core issue. I've tagged the issue there with milestone 1.8.1 so that we can use the fix hopefully soon for Bd4Good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant