Hello,
I need to disable one of the languages used on my website. I use the config option for disabling languages but I also need to generate some JSON file listing pages in that disabled language. Is that possible?
Is there some way how to get collections of pages in disabled language?
That’s not possible, or at least not with that option.
What you could consider, if you have the languages’ content split into folders, is to put this in the home page content page of the disabled languages:
_build:
render: never
list: always
publishResources: false