Open rawr51919 opened 5 months ago
I ran into a similar issue yesterday while testing this template locally (dev server). And just today they merged a possible fix https://github.com/withastro/astro/pull/10248. And indeed, updating Astro to 4.4.6 seems to fix the issue I had with the dynamic routes (src/pages/blog/[slug].astro
).
What still is an issue, is src/pages/about.astro
. Although it's almost exactly the same as src/pages/index.astro
(no issues there), it won't let me change from the default language to another one.
I ran into a similar issue yesterday while testing this template locally (dev server). And just today they merged a possible fix withastro/astro#10248. And indeed, updating Astro to 4.4.6 seems to fix the issue I had with the dynamic routes (
src/pages/blog/[slug].astro
).What still is an issue, is
src/pages/about.astro
. Although it's almost exactly the same assrc/pages/index.astro
(no issues there), it won't let me change from the default language to another one.
for me the about page works fine
Will look into it tomorrow, I might have messed up something when changing languages.
Did the Astro update helped with your issue?
I m probably going to move away from astro-i18n-aut
in favor of native localization system, as there are still problems with the integration
Possibly related to #11
I'm noticing that, with this template and derivatives thereof, when deployed on Vercel, the dropdown that changes the language is correctly redirecting from the default locale page path to '/' for the default locale, yet in production when you click the default locale in the dropdown, Vercel gives a 404 and doesn't redirect. Could this be a bug with Astro's compatibility with Vercel?
This one has me scratching my head. If anyone has any idea how to fix that I'd love to know. Thanks!