I need to set up a view that lists content in all available languages despite user's current language. I tried creating content translation relationships to all languages and setting fields to use these relationships, but it doesn't work. It only shows fields with the user's current language. How do I get it to list all fields in all languages?
-
Welcome to Drupal Answers! The purpose of the language is exactly to show the content in the language the user prefers. I don't see the purpose of showing the content of all the fields in all the possible languages.avpaderno– avpaderno ♦2014-12-24 09:56:26 +00:00Commented Dec 24, 2014 at 9:56
-
The purpose is not to show anything to users. I'm outputting the view as XML and I need to have all languages shown in the output.iamfredrik– iamfredrik2014-12-25 07:55:08 +00:00Commented Dec 25, 2014 at 7:55
Add a comment
|
2 Answers
You could try to do this with the field language setting in view. I would try to set this to language neutral.
I have not tested this myself, just my 2 cents ;-)
Look to screenshots for clarification

-
Already tried it. Does not work.iamfredrik– iamfredrik2014-12-25 07:56:14 +00:00Commented Dec 25, 2014 at 7:56
In your view, go to:
- Filter criteria
- Configure filter criterion: Content: Original language
- Set it to "Every language"
This filter targets the original language of content and when set to "Every language," it will display all content regardless of translation status or current user language.