Skip to content

Commit

Permalink
added i18next-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Lysak committed Sep 12, 2024
1 parent 8f073d1 commit fd03e68
Show file tree
Hide file tree
Showing 104 changed files with 10,053 additions and 5,624 deletions.
5 changes: 5 additions & 0 deletions i18next-parser.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
locales: ['en', 'de', 'nl', 'ru', 'uk', 'zh'],
input: ['src/**/*.{js,jsx,ts,tsx}'],
output: 'public/locales/$LOCALE/$NAMESPACE.json',
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"lint:fix": "next lint --fix",
"export": "next export",
"compare-locales": "node ./scripts/compare-locales.mjs",
"scan-locales": "node ./scripts/scan-locales.mjs",
"parse-locales": "i18next",
"analyze": "ANALYZE=true pnpm build",
"analyse": "pnpm analyze",
"test": "vitest run",
Expand Down Expand Up @@ -162,6 +162,7 @@
"hardhat-dependency-compiler": "^1.1.3",
"hardhat-deploy": "^0.11.12",
"husky": "^7.0.4",
"i18next-parser": "^9.0.2",
"isows": "^1.0.3",
"jsdom": "^24.0.0",
"lokijs": "^1.5.12",
Expand Down
Loading

0 comments on commit fd03e68

Please sign in to comment.