Hello

I already have post this thread in the translation group here, but there is probably more people here who know the views module.

So, using the views module, I would like to create a list view of stories content and only display content for the current selected languages. If one of the content is not translated into this language, so display the default site language content.

If I add a filter: "Node translation: Language" set to "Is one of" -> Current user's language. With this filter, only selected language content will be display ! If I add more filter, I will see the same content in different language, which I don't want.

Shall I use the one or more Arguments in my view ?

Thanks for your help.

Damien

Comments

miruoss’s picture

The module i18n offers 4 ways how to handle fallbacks. It uses hook_db_rewrite_sql() to do so which is called by views for select queries. However, the fallback doesn't work as I exptected it. The module active_translation solves this problem pretty well by implementing its own hook_db_rewrite_sql() in further way.

Cheers,
Michael