I’m dealing with multilingual site and translations for a while. Found there is no language filter for the collection and untranslated pages are showing in its original language. I want to display translated articles only.
The way creating and disabling page in another languages is not a way (3lang and thousands of pages).
Showing a collection and specifying particular language will brake pagination plugin.
Think I’ve found is looping through the collection, selecting page language. But now how to create and dynamically add an item into the collection in the twig?
I was playing with merge (only for arrays?), add, addpage nothing worked for me.
Checked the API documentation, there are functions ready, but not sure if they are exposed to twig. Any ideas?
Or any other solution how to deal with multilang and non-translated articles?