@ryangittings @eleventy hmm, good callout—I do think that page needs clearer examples. That said, @lene has a great resource on this: https://www.lenesaile.com/en/blog/internationalization-with-eleventy-20-and-netlify/
@zachleat @eleventy @lene Ah, really lovely - the one thing this article mentions is localised collections.
I've got a build that requires regional-specific variations of the site powered by Sanity (with https://github.com/sanity-io/document-internationalization). Battling with myself on how best to power set this up within 11ty. Ideally I would set the regions in 11ty, loop through them first, then loop through the collections to generate pages but I don't think that's possible?
@ryangittings @zachleat @eleventy Hey Ryan, on my personal site I have set localized collections, but I guess that's not what you are looking for.
https://github.com/madrilene/lenesaile.com/blob/main/config/collections/index.js
@ryangittings @lene @zachleat I would love to hear what we can do better in core to support this use case!
@ryangittings @lene @zachleat thank you!!