Skip to content

Commit 155aca7

Browse files
committed
update i18n
1 parent 9c5cd5a commit 155aca7

File tree

8 files changed

+247
-4
lines changed

8 files changed

+247
-4
lines changed

package-lock.json

Lines changed: 211 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@
2020
"antd": "^5.1.4",
2121
"classnames": "^2.3.2",
2222
"dayjs": "^1.11.7",
23+
"i18next-browser-languagedetector": "^7.0.1",
24+
"i18next-http-backend": "^2.1.1",
2325
"jotai": "^1.13.0",
2426
"react": "^18.2.0",
2527
"react-dom": "^18.2.0",
2628
"react-helmet": "^6.1.0",
29+
"react-i18next": "^12.1.4",
2730
"react-icomoon": "^2.5.4",
2831
"react-router-dom": "^6.6.2",
2932
"umi-request": "^1.4.0"

public/locales/en/common.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"hello": "Hello 1111"
3+
}

public/locales/vi/common.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"hello": "Xin Chào 111"
3+
}

public/svgs/logo.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)