How do you tell Kirby if a page should have a translation or not?

This custom filter for blog articles works for me

$articles = $page->children()->visible()->filter(function($child) {
     return site()->language()->code() == $child->language()->code();
});
2 Likes