I used some time to figure out how "Language switcher block" works and want to start a new issue about improve the block help message.

but .... before posting, I found that there has a bug. Attached patch for bug fixing.

And block help message said we need language negotiation "set to something other than None". It's wrong in D7 but I'm not sure if this is also a bug.

in D7 accepts URL or Session only.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Status: Needs review » Needs work

The last submitted patch, locale_help.patch, failed testing.

droplet’s picture

Status: Needs work » Needs review

locale_help.patch queued for re-testing.

droplet’s picture

Title: Improve Language switcher block help message » add back Language switcher block help message
plach’s picture

Component: locale.module » language system
Status: Needs review » Reviewed & tested by the community
Issue tags: +Quick fix

Looks good and works as advertised.

I don't think this needs tests.

plach’s picture

Version: 7.x-dev » 8.x-dev
Status: Reviewed & tested by the community » Needs review
plach’s picture

the patch...

plach’s picture

droplet’s picture

Status: Needs review » Reviewed & tested by the community

patch is okay.

plach’s picture

Issue tags: +Needs backport to D7
Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7.x and 8.x. Thanks a lot! :)

Status: Fixed » Closed (fixed)
Issue tags: -Quick fix, -Needs backport to D7

Automatically closed -- issue fixed for 2 weeks with no activity.