Follow up for #1738374: Provide a cue to enable the language switcher when adding a language

Problem/Motivation

User testing showed no participants noticed the message saying to enable a language switcher block.

Proposed resolution

A) enable all language switcher blocks that are appropriate, and change displayed message to say it was enabled and how to disable it.
See also:
#1738374: Provide a cue to enable the language switcher when adding a language which started off automatically enabling and took out the functionality

This was shown in the past to be confusing to have a block automatically showing up when enabling a module. But I wonder with the contextual link now on blocks if it is more obvious how to turn off blocks, this might be ok.

B) Instead of only a dsm, use a message that shows on the languages configuration page until one of the switcher blocks is enabled.

Remaining tasks

User interface changes

TBD.

API changes

No API changes expected.

Related Issues

Original report in Budapest Usability Testing Results

http://groups.drupal.org/node/271918

None of the participants noticed the message showing up on the top of the page guiding them to enable the language switcher block once they had 2 languages. Nobody noticed it being there.

CommentFileSizeAuthor
#7 language_switcher_blocks.png25.46 KBCyclodex

Comments

gábor hojtsy’s picture

Bojhan was specifically against magically enabling a block on enabling the module. Also it depends on when you add more than 1 language. Also you might have a language block exposed by another (contrib) module if you are not happy with language module's, so we cannot just push this on user.

I think our options are (a) figure out a better way to inform the user (Bojhan hinted there may be something in the works generally for this?), (b) just live with it not being noticed (c) remove the notification altogether because it is superfluous and just more noise than use.

yesct’s picture

Issue tags: +budapest2012
yesct’s picture

Anonymous’s picture

I have a concern about option B, because some other modules implement this functionality in D7 but if you use an admin theme we need to also consider what is the default theme, and/or any other enabled themes (including sub-themes used by sub-sections, etc). If an admin theme is used, the "no switcher active" message will always show on the admin pages you target, even if it is enabled, and after awhile devs will start to ignore the message because it is there all the time.

Now that I've had a chance to look at how to actually enable this in D8, I'm thinking maybe it would be possible to "create" the switcher blocks and set them to "disabled" in all themes (ie, what we did in D6 & D7). That would minimize the impact on any "cowboy coders" who enable stuff on live sites, while alleviating the issue where users visit the blocks page and don't find a language switcher at all.

Another idea: this functionality is deeply related to the "Detection and Selection" page. Perhaps it would be good to put a list of existing switcher blocks on that page or as a tab beside the detection and selection page. If a dev sees this empty list, then (1) they know they need to put something into the list and (2) they know to go look at the blocks page.

yesct’s picture

Once thing to keep in mind, is since the content language switcher block and the ui switcher block do the same thing, is that if the ui block is already enabled, we most likely dont want to automatically enable the content one. And if the content one is enabled we dont want to automatically enable the ui one.

yesct’s picture

Cyclodex’s picture

StatusFileSize
new25.46 KB

I am novice and just want to try to kick in here.
I tested the output and right now it looks like this:
language_switcher_blocks.png

I am thinking of this solution:
Because this message would only appear once you add a language, lets say the user goes away and comes back, should there not still be a hint for where to configure a language switcher block? We could just extend the message like:
You can enable a language switcher block on the block administration page.
just after the sentence in there ...detection menthod settings in the Detection and Selection tab.

Oh! I just found spelling error^^ should be "method" not "menthod"!
Should I create a new issue for that, or can I just fix it and make a patch in here?

To come back to this issue again: are you thinking of somehow implementing the "Tour"-thing which would inform the User? I am not yet sure how this is thought to be used.

klonos’s picture

...yes, file a separate issue for the typo. Good catch ;)

klonos’s picture

...and yes, I think that the second phrase in the message should stay as part of the help text once more than one languages are enabled.

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

smustgrave’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: +stale-issue-cleanup

Thank you for creating this issue to improve Drupal.

We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.

Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

Thanks!

smustgrave’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

Since there's been no follow up in 3 months going to close out, if still a valid task though we can always re-open.

Thanks!