Skip to content
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

Feat: add i18n support with en/zh-CN translation #9197

Open
wants to merge 21 commits into
base: develop
Choose a base branch
from

Conversation

acecode
Copy link

@acecode acecode commented Mar 11, 2025

Motivation and context

resolve #374

  1. Add i18next related libs, rewrite i18n related code

  2. Split big changes to more specific commits

  3. Also build a cvat-ui docker image acecode/cvat-ui-i18n:dev

  4. translate Component/Pages

    • login, register, reset-password, reset-password-confirm page
    • app level error medal on cvat-app.tsx
    • header, setting modal, shortcut modal
    • all the top-bar( fitler, quick-filter, sorter)
    • empty or not found list result page

How has this been tested?

Checklist

  • I submit my changes into the develop branch
  • I have created a changelog fragment
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • I have linked related issues (see GitHub docs)

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.
    截屏2025-03-11 14 25 50
    截屏2025-03-11 14 30 39
    截屏2025-03-11 14 34 57
    截屏2025-03-11 14 35 08
    截屏2025-03-11 14 35 28
    截屏2025-03-11 14 30 21
    截屏2025-03-11 14 26 18
    截屏2025-03-11 14 39 58
    截屏2025-03-11 14 38 15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Localization support
1 participant