AOSSIE-Org / AOSSIE-Org/PictoPy
Feat: Implement i18n support for multi-language accessibility
- 主要語言
- Python
- 星號
- 283
- 分支
- 679
- 平均合併
- 7 天 2 小時
- 30 天內合併 PR
- 3
描述
### Describe the feature
**Is there an existing issue for this?**
* [x] I have searched the existing issues
**What happened?**
**Lack of Internationalization (i18n) Support**
The application currently uses hardcoded English strings throughout the frontend codebase. This prevents the interface from being translated into other languages, limiting accessibility for non-English users and blocking global community contributions.
**File:** `frontend/src` (General)
**Step Action**
| Step | Action |
| :--- | :--- |
| 1 | Open the PictoPy source code (e.g., `LeftSidebar.tsx` or `Settings.tsx`). |
| 2 | Locate UI elements like buttons or labels. |
| 3 | **Result:** Observe that text is hardcoded (e.g., `Save`) instead of using translation keys (e.g., `{t('save')}`). |
| 4 | Open the PictoPy application and go to Settings. |
| 5 | **Result:** There is no option to switch the interface language. |
**Suggested Solution**
Integrate a library like `i18next` and `react-i18next`. Extract hardcoded strings into locale files (e.g., `en.json`) to allow the community to submit translations for other languages.
**Record**
* [x] I agree to follow this project's Code of Conduct
### Add ScreenShots
*
### Record
- [x] I agree to follow this project's Code of Conduct
- [x] I want to work on this issue
貢獻指南
評估
這個 Issue 還沒有評估資料。