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
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Solved by Javi View solution
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.
@pamtbaau:
all the following related setting i
hI @pamtbaau
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 @pamtbaau
Log in to reply.
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 57 | 14 hours ago | ||
| 2 | 65 | 17 hours ago | ||
| 1 | 33 | 18 hours ago | ||
| 2 | 68 | 5 days ago | ||
| 2 | 60 | 6 days ago |