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

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

Closed
3 tasks done
warjiang opened this issue Aug 27, 2024 · 4 comments · Fixed by #131
Closed
3 tasks done

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

warjiang opened this issue Aug 27, 2024 · 4 comments · Fixed by #131
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@warjiang
Copy link
Contributor

warjiang commented Aug 27, 2024

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
karmada-io/karmada#4879

Desired outcomes

  • proposal(WIP) feature: add service management #114
  • implement i18n-cli which can automatically extract Chinese characters from the Karmada Dashboard project, generating i18n code, and replacing Chinese characters in the original code with i18n translated utility functions also supports call third-party translation APIs for automatic translation into the target language. Add: add i18n and translator features #131
  • unit test: Writing test cases to cover the added functionality (currently, we'll only cover translator module)
@warjiang warjiang added the kind/feature Categorizes issue or PR as related to a new feature. label Aug 27, 2024
@warjiang
Copy link
Contributor Author

/assign @chouchongYHMing

@karmada-bot
Copy link
Collaborator

@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:

/assign @chouchongYHMing

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@warjiang
Copy link
Contributor Author

warjiang commented Aug 27, 2024

@chouchongYHMing plz assign yourself.

@chouchongYHMing
Copy link
Contributor

/assign @chouchongYHMing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants