Hi all!
Is possible get only the translated pages in collections? I have a lot of posts that not are translated in english but in the english collection page (Blog) they appears in the default lang (Spanish)
Thanks
Hi all!
Is possible get only the translated pages in collections? I have a lot of posts that not are translated in english but in the english collection page (Blog) they appears in the default lang (Spanish)
Thanks
@javiregpa Not sure if this will do what you want, but I recall the following related setting in â/user/config/system.yamlâ:
languages:
translations_fallback: true # Fallback through supported translations if active lang doesn't exist
Try setting it to false and see if it works.
I have translations_fallback set to false, but also shows the posts although they are not translated in English.
This is my blog.en.md
---
title: News
slug: news
body_classes: blog_classic
content:
items: '@self.children'
limit: 10
order:
by: publish_date
dir: desc
pagination: true
url_taxonomy_filters: false
---
# NEWS AND EVENTS
##### CORPORATE NEWS
Thanks
I found a âsolutionâ
Yo need to translate the page in the others languages and after set unpublished this pages, in the collection page donât appear the unpublished pages.
Thanks
Nice find! Thanks for sharing your solutionâŚ
Thanks for your help @anon76427325