Change locale codes in astro.config.mjs
This commit is contained in:
parent
3554489b60
commit
d795a4a578
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ export default defineConfig({
|
||||||
i18n: {
|
i18n: {
|
||||||
defaultLocale: "en", // All urls that don't contain `fr` after `https://screwfast.uk/` will be treated as default locale, i.e. `en`
|
defaultLocale: "en", // All urls that don't contain `fr` after `https://screwfast.uk/` will be treated as default locale, i.e. `en`
|
||||||
locales: {
|
locales: {
|
||||||
en: "en-US", // The `defaultLocale` value must present in `locales` keys
|
en: "en", // The `defaultLocale` value must present in `locales` keys
|
||||||
fr: "fr-CA",
|
fr: "fr",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Add table
Reference in a new issue