feat: setup i18n
This commit is contained in:
10
i18n/locales/en.json
Normal file
10
i18n/locales/en.json
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"settings": {
|
||||||
|
"menus": {
|
||||||
|
"options": "Options",
|
||||||
|
"clock": "Clock",
|
||||||
|
"user": "User",
|
||||||
|
"touchScreen": "Touch Screen"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -7,7 +7,13 @@ export default defineNuxtConfig({
|
|||||||
"@nuxt/content",
|
"@nuxt/content",
|
||||||
"@pinia/nuxt",
|
"@pinia/nuxt",
|
||||||
"./modules/content-assets",
|
"./modules/content-assets",
|
||||||
|
"@nuxtjs/i18n",
|
||||||
],
|
],
|
||||||
css: ["~/assets/app.css"],
|
css: ["~/assets/app.css"],
|
||||||
ssr: false,
|
ssr: false,
|
||||||
|
i18n: {
|
||||||
|
strategy: "no_prefix",
|
||||||
|
locales: [{ code: "en", language: "en-US", file: "en.json" }],
|
||||||
|
defaultLocale: "en",
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nuxt/content": "^3.8.2",
|
"@nuxt/content": "^3.8.2",
|
||||||
|
"@nuxtjs/i18n": "10.2.1",
|
||||||
"@nuxtjs/mdc": "^0.18.4",
|
"@nuxtjs/mdc": "^0.18.4",
|
||||||
"@pinia/nuxt": "0.11.3",
|
"@pinia/nuxt": "0.11.3",
|
||||||
"better-sqlite3": "^12.4.1",
|
"better-sqlite3": "^12.4.1",
|
||||||
|
|||||||
792
pnpm-lock.yaml
generated
792
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user