mirror of
https://github.com/NotXia/notxia.github.io.git
synced 2025-12-14 19:01:51 +01:00
Changed i18n strategy
This commit is contained in:
@ -3,6 +3,7 @@ export default defineNuxtConfig({
|
||||
modules: [
|
||||
"@nuxtjs/i18n"
|
||||
],
|
||||
|
||||
i18n: {
|
||||
locales: [
|
||||
{
|
||||
@ -21,7 +22,7 @@ export default defineNuxtConfig({
|
||||
lazy: true,
|
||||
langDir: "locales",
|
||||
defaultLocale: "en",
|
||||
strategy: "prefix",
|
||||
strategy: "prefix_and_default",
|
||||
detectBrowserLanguage: {
|
||||
useCookie: true,
|
||||
cookieKey: "locale",
|
||||
|
||||
12196
package-lock.json
generated
12196
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user