Drupal core's "Language switcher" block displays no content if there's only one language available (i.e., there's no language to switch to).

Admin Language's "Language switcher (without administration language)" block doesn't follow this pattern — if there are two languages installed (one admin language, one user language), this block still shows the solitary user language, even though there's nothing to switch to.

I think the correct behavior would be to hide the solitary language choice in this case, analogous to Drupal Core's behavior.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

smokris’s picture

Assigned: smokris » Unassigned
Status: Active » Needs review
FileSize
555 bytes

Patch attached.

smokris’s picture

Alternative patch, against 6.x-1.4.

smokris’s picture

Blah. One more try at a 6.x-1.4 patch:

Liam Morland’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Drupal 6 is no longer supported. If this issue is relevant for Drupal 7, please re-open and update the version.