Skip to content

Commit

Permalink
update i18n setup (MetaMask#1298)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandratran authored May 2, 2024
1 parent 0dd7294 commit 67fbd19
Show file tree
Hide file tree
Showing 7 changed files with 434 additions and 571 deletions.
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const config = {
// to replace "en" with "zh-Hans".
i18n: {
defaultLocale: "en",
locales: ["en"/*, "ru", "zh"*/],
locales: ["en"/*, "zh", "ko"*/],
},

trailingSlash: true,
Expand Down
Empty file added i18n/en/.gitkeep
Empty file.
Empty file added i18n/ko/.gitkeep
Empty file.
Empty file added i18n/zh/.gitkeep
Empty file.
70 changes: 0 additions & 70 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@
"@metamask/docusaurus-openrpc": "^0.3.1",
"clsx": "^1.2.1",
"docusaurus-plugin-segment": "^1.0.4",
"i18next": "^23.11.1",
"i18next-browser-languagedetector": "^7.2.1",
"node-polyfill-webpack-plugin": "^2.0.1",
"prettier": "^3.0.0",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-i18next": "^14.1.0",
"react-player": "^2.13.0",
"remark-codesandbox": "^0.10.1",
"remark-docusaurus-tabs": "^0.2.0"
Expand Down
Loading

0 comments on commit 67fbd19

Please sign in to comment.