Views 3, contextual filter on language - allow for multiple languages So for this site I'm building I need to be able to do the following.


When user views the site in English show all English articles
When the user views the site in Dutch, show all Dutch articles - but also the untranslated English ones
When the user views the site in German, show all German articles - but also the untranslated English ones.


The contextual filter, 'Content translation: Language' only allows to put in one value. That is either a language specified, or all. 

But in my case it would be required to be able to set for instance "en+nl" or "en+de". Like one can do with taxonomy 'Has Taxonomy', I would like something like 'Has Language'.
I solved this task like so:


For "When the filter value is not available",  select option "Provide default value".
then use "PHP Code" as the value for "Type"
the actual PHP code I added is as shown in the screenshot below: