mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 22:54:22 +00:00
Fix i18n
This commit is contained in:
parent
706efea2ec
commit
5f7545a643
2 changed files with 8 additions and 11 deletions
|
@ -1,9 +0,0 @@
|
||||||
module.exports = {
|
|
||||||
i18n: {
|
|
||||||
defaultLocale: "it-IT",
|
|
||||||
locales: [
|
|
||||||
"it-IT",
|
|
||||||
],
|
|
||||||
localePath: path.resolve('./public/locales'),
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,9 +1,15 @@
|
||||||
import i18n from "./next-i18next.config"
|
const path = require("path")
|
||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
i18n,
|
i18n: {
|
||||||
|
defaultLocale: "it-IT",
|
||||||
|
locales: [
|
||||||
|
"it-IT",
|
||||||
|
],
|
||||||
|
localePath: path.resolve('./public/locales'),
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = nextConfig
|
module.exports = nextConfig
|
||||||
|
|
Loading…
Reference in a new issue