Skip to content

Commit

Permalink
fix: config
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtiti committed Jul 17, 2024
1 parent 7af1783 commit 38d3de1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
17 changes: 10 additions & 7 deletions next-i18next.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
/** @type {import('next-i18next').UserConfig} */
/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable no-undef */

const path = require('path');

// eslint-disable-next-line no-undef
module.exports = {
i18n: {
locales: ['en', 'es'],
defaultLocale: 'en',
},
};
i18n: {
locales: ['en', 'es'],
defaultLocale: 'en',
},
localePath: typeof window === 'undefined' ? path.resolve('./public/locales') : '/locales',
};
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "web3-react-boilerplate",
"name": "ZKchainHub",
"private": true,
"version": "0.0.0",
"type": "module",
"license": "MIT",
"author": "Wonderland",
"engines": {
Expand Down
5 changes: 5 additions & 0 deletions public/locales/en/common.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"HOME":{

}
}

0 comments on commit 38d3de1

Please sign in to comment.