Drupal 7 国际化/多语言:如果文章缺少翻译,则重定向到默认语言 [英] Drupal 7 Internationalization / Multi language : redirect to default language if translation missing for article

查看:16
本文介绍了Drupal 7 国际化/多语言:如果文章缺少翻译,则重定向到默认语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I'm new to the Internationalization for Drupal 7 and here is what I'm trying to do.

Let's say i have 3 languages for my site. English, French and Dutch. What I want is when an article is not translated in a specific language, to see the English version of the article.

I could write my article in English, then use the neutral language to make sure the article appears in every language, but then I can't translate the article in just French or just Dutch.

Example: I created an article in English. I translated it in French. I haven't translated it in Dutch, but I still want the English version of the article to appear in the Dutch version of the site.

If anyone has any idea I'd be grateful.

解决方案

I am using Select translation module for the above issue. you can find module at https://drupal.org/node/1098708.

in views add filter : Select translation In Select translation selection mode Use current language ; if not available use default language ; if not available use original language.

这篇关于Drupal 7 国际化/多语言:如果文章缺少翻译,则重定向到默认语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆