karmada-io / dashboard

Web UI for Karmada
Apache License 2.0
44 stars 39 forks source link

[Summer OSPP 2024] Karmada Dashboard Automation i18n Tool #95

Open warjiang opened 2 weeks ago

warjiang commented 2 weeks ago

What would you like to be added: Karmada (Kubernetes Armada) is a Kubernetes management system that enables you to run cloud-native applications in multiple Kubernetes clusters and cloud platforms without changing the application. By using Kubernetes native APIs and providing advanced scheduling capabilities, Karmada implements truly open, multi-cloud Kubernetes.

Internationalization (i18n) is very important for international open-source projects. During the process of refactoring Karmada Dashboard, we found it's hard to find an out-of-box i18n tool. As the project becomes bigger, manual management of i18n not only becomes inefficient but also easy to make mistakes.

Therefore, we aim to develop an automated i18n tool as a part to Karmada Dashboard. This tool will automatically extract Chinese characters from the Karmada Dashboard project, assign i18n keys automatically, replace original Chinese characters with i18n translation functions, and utilize a third-party translation API to automatically translate the extracted Chinese characters into the target language.

Project link https://summer-ospp.ac.cn/org/prodetail/245c40338?lang=zh&list=pro

Parts of https://github.com/karmada-io/karmada/issues/4879

Desired outcomes

warjiang commented 2 weeks ago

/assign @chouchongYHMing

karmada-bot commented 2 weeks ago

@warjiang: GitHub didn't allow me to assign the following users: chouchongYHMing.

Note that only karmada-io members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. For more information please see the contributor guide

In response to [this](https://github.com/karmada-io/dashboard/issues/95#issuecomment-2312093593): >/assign @chouchongYHMing Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
warjiang commented 2 weeks ago

@chouchongYHMing plz assign yourself.