Redirect to front page when no translated content

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

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

bobr37's picture

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: