-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Feat: add i18n support with en/zh-CN translation #9197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
1. add i18next and related libs
* react-i18next
* i18next-browser-languagedetector
* i18next-resources-to-backend
2. translate demo en and zh-CN locale
* login-form.tsx
* cvat-app.tsx
1. add switch locale component 2. to header component 3. to sign-layout header component
|
|
anything new? |
|
This looks awesome! Can someone review this? |
|
Any updates on this? |
|
@klakhov this is actually really nice, can you have a look at this if you're available? |
|
@bsekachev Could you review this code? I think this is very useful! Looking forward to your reply! |
|
@regainOWO looks really great but the main issue is how to maintain this. moving forward. Probably, with appropriate AI tools it would be easier. We'll look into it |
|
@archibald1418 we can use text extraction (which word to translate) and Google Translate API to do this automatically Past experience: It's 90% correct translation + 10% manual work. |



Motivation and context
resolve #374
Add i18next related libs, rewrite i18n related code
Split big changes to more specific commits
Also build a cvat-ui docker image acecode/cvat-ui-i18n:dev
translate Component/Pages
How has this been tested?
Checklist
developbranchLicense
Feel free to contact the maintainers if that's a concern.