mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 14:44:21 +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} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
i18n,
|
||||
i18n: {
|
||||
defaultLocale: "it-IT",
|
||||
locales: [
|
||||
"it-IT",
|
||||
],
|
||||
localePath: path.resolve('./public/locales'),
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = nextConfig
|
||||
|
|
Loading…
Reference in a new issue