3

I am building a multilingual site with Drupal 7 and Internationalization. Everything works perfectly except one thing. I want to redirect to the default language if the translation is missing for one node. I thought that the module "Translation redirect" would be enough but it does not seem to work.

I have seen that someone had a similar issue here : Drupal 7 Internationalization / Multi language : redirect to default language if translation missing for article

I want to do the exact same thing. Anyone has an idea?

Thanks for your help!

4

1 回答 1

3

使用GlobalRedirect模块并在模块配置页面中将选项“语言路径检查”设置为 true。

在此处输入图像描述

或者,您可以使用规则或自定义模块,如drupal-redirect-when-missing-node-translation中描述的模块来处理重定向。

于 2013-07-09T13:44:21.790 回答