#How to resolve The provided locale does not exist ?

6 messages · Page 1 of 1 (latest)

lean barn
#

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

forest light
#

Hi. This is my config: i18n: { defaultLocale: "en", locales: ["en", "fr"], routing: { prefixDefaultLocale: true } },