Regarding the blog function, is it possible to retrieve only articles that have been multilingualized?
for example.
{% if languages_count > 1 %}
{% ... %}
{% endif %}
This will work. It depends if you want to return the primary language version of the blogs that have mutli-language variations, or return the multi-language variations themselves.
{# return primary language version of blogs which have translations #}
{% for content in contents %}
{% if content.translated_content|length %}
{{content.name}}
{% endif %}
{% endfor %}
{# return translations of blogs that have them #}
{% for content in contents %}
{% if content.translated_content|length %}
{% for item in content.translated_content %}
{{item.name}}
{% endfor %}
{% endif %}
{% endfor %}
I would also recommend adding a check for published, which would be
{% if content_by_id(item.id).current_state == 'PUBLISHED' %}
{% endif %}
Thank you very much! It was helpful.