#How to resolve The provided locale does not exist ?
6 messages · Page 1 of 1 (latest)
so you can use something like this
and then expect the routing to work for locales defined in the locales array
I visite an undefined local
by this you mean a URL without locale? that should redirect to your defaultLocale property
Hi. This is my config: i18n: { defaultLocale: "en", locales: ["en", "fr"], routing: { prefixDefaultLocale: true } },
the demo project is here: https://github.com/danygiguere/astro-4-example-with-i18n-and-jwt