0

I've using default translate module. I enabled 2 languages, setted translation in nodetype. So now if i will setup view like this:

enter image description here

It will display only translated nodes. If I set all languages, it will show all nodes, but with duplicates (first and second languages).

How to set in this way: display translated nodes, but if some are not translated, display untranslated?

4

The trick is the combination of two things:

  1. Instead of translation language, use the filter "Default translation", so that you only get the original/default/source translation for each node.

  2. Then, in Language below Pager, for "Rendering Language", select "Interface text language selected for page". That will select the best available translation for the current language, just like accessing node/1.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.