jlarmstrongiv / astro-i18n-aut

The i18n integration for Astro 🧑‍🚀
https://www.npmjs.com/package/astro-i18n-aut
MIT License
125 stars 12 forks source link

Is it possible to combine with the official integration for dynamic pages only? #43

Closed tiwka19 closed 9 months ago

tiwka19 commented 10 months ago

I need to pass a different language for each language to getStaticPaths to filter languages. But, because it is not possible to pass a variable inside the function, can I create folders with languages inside pages (as suggested by the official integration), and add blog pages there?

jlarmstrongiv commented 9 months ago

Hi @tiwka19, unfortunately, the official integration is not compatible with astro-i18n-aut.

It is not possible to pass variables to getStaticPaths and all paths must be the same in all locales for compatibility with @astrojs/sitemap