bilingual

Events happening in the community are now at Drupal community events on www.drupal.org.
mlecha's picture

Hide the active language in Language Switcher block in Drupal 7

I'd like to have the language switcher block in core Drupal 7 hide the active language. (ie: If you're reading the English page, don't display a link to the English page.)

I've come across this solution for Drupal 6, which seems hefty for a seemingly trivial task (and doesn't work in D7):
http://drupal.org/node/909418

I'm new to Drupal, and I am having difficulties knowing where to start.

Read more
mlecha's picture

Bilingual language toggle in Drupal 7

It would be helpful to know how those developing bilingual sites are creating a language toggle as on standard gov't pages. If you're on the English page, you should see a link to the French page and vice-versa.

In Drupal 7 I'm using the core language switcher block of the locale module. However that displays a link to the current active language as well as to the translated language, and doesn't seem to be configurable. I'm not sure if I can override it somehow?

I've come across this solution for Drupal 6, which seems pretty hefty for such a small issue:
http://drupal.org/node/909418

Read more
Subscribe with RSS Syndicate content