Redirect to front page when no translated content

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by orkutmuratyilmaz on November 27, 2012 at 7:31pm

Is there a way for redirecting to other language's front page, when language switcher is clicked and there is no translation for that content?

I've searched a lot, but found no solution.

I'm using D7 core & i18n module.

Comments

hi, the language switch block

Posted by bobr37 on November 27, 2012 at 8:39pm

hi,

the language switch block operates through translation sets and so, needs a page to be translated.

perhaps, you can create translation set of home page and then use "Redirect" module and point translated pages urls to desired "untranslated" urls ??? not sure if that will work, but give it a try...

here's couple helpful links on home page translation:
http://bengoodyear.com/blog/drupal-7-cracking-the-multilingual-front-pag...
http://drupal.org/node/1216132

cheers

Internationalization

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /