Background of the issue:
I want to show all available posts regardless of language on my site hidden link. The default language of the site is Dutch, but I syndicate a lot of posts that are in English. Many posts do not have a default language version.
Symptoms:
I can't find a way to display all posts regardless of language on the Dutch language blog page.
Questions:
How can I display all posts regardless of language on the Dutch language blog page?
with WPML the content will display under their assigned language, however, you do have a few options to display untranslated content in the secondary languages.
Yes, I read that article previously. But that is for the secondary language. I'm talking about a situation where the content doesn't exist in the primary language, but it does exist in the secondary language. There doesn't seem to be a way to display it then. That is a bit strange isn't it? Can I adjust the filter that gets applied somewhere?
Did you at any point change the default language of WPML?
Was this content created first in the secondary language? When using WPML it is important to always create content in the default language and then translate into secondary languages.
In your case it is best to go to WPML->Translation Management->Select your content and duplicate it into the missing language.
Yes, default language was changed as that was necessary for our target market.
Yes the content is syndicate, it is only available in the secondary language. There is no option to create it in the primary language first.
I'm not keen on duplicating the content and marketing it like it is the primary language, but yeah that is a possibility.
All I want is a blog filter that is configureable such that it can display posts regardless of the language that it is in. Am I correct in that WPML can't do such an elementary thing and that it always has to be separate?
There are language entries in the database and each language item has it's own ID within then database.
The feature I mentioned only works from the default language to the secondary language but unfortunately not the other way.
Duplicating the content is at the moment the workaround I would suggest, however, you are can also review our WPML hooks in case you want to explore a custom solution, however, I am not aware of one that would be beneficial in this case.