-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9929589
commit 5549cd6
Showing
18 changed files
with
109 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** @type {import('next-i18next').UserConfig} */ | ||
|
||
module.exports = { | ||
i18n: { | ||
defaultLocale: 'en', | ||
locales: [ | ||
'pt', // Portuguese (Brazil) | ||
'en', // English (USA) | ||
'fr', // French (France) | ||
'es', // Spanish (Spain) | ||
'ko', // Korean (South Korea) | ||
'ja', // Japanese (Japan) | ||
'de', // German (Germany) | ||
'it', // Italian (Italy) | ||
'zh', // Chinese (Simplified, Mainland China) | ||
'ar', // Arabic | ||
], | ||
localeDetection: true, | ||
reloadOnPrerender: process.env.NODE_ENV === 'development', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
/* eslint-disable import/no-extraneous-dependencies */ | ||
const withBundleAnalyzer = require("@next/bundle-analyzer")({ | ||
enabled: process.env.ANALYZE === "true", | ||
const withBundleAnalyzer = require('@next/bundle-analyzer')({ | ||
enabled: process.env.ANALYZE === 'true', | ||
}); | ||
const { i18n } = require("./i18n"); | ||
// const { i18n } = require("./i18n"); | ||
|
||
module.exports = withBundleAnalyzer({ | ||
eslint: { | ||
dirs: ["."], | ||
dirs: ['.'], | ||
}, | ||
poweredByHeader: false, | ||
trailingSlash: true, | ||
basePath: "", | ||
basePath: '', | ||
// The starter code load resources from `public` folder with `router.basePath` in React components. | ||
// So, the source code is "basePath-ready". | ||
// You can remove `basePath` if you don't need it. | ||
reactStrictMode: true, | ||
i18n, | ||
// i18n, | ||
}); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters