Add built-in translations to the widget
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- internationalization
Hướng nghiên cứu
Start with packages/widget/src/i18n.ts and the existing core locale files under packages/core/src/i18n/; then copy the test pattern from packages/core/tests/i18n/locales.test.ts. Pick one target language, add its typed locale file and registration, and check the widget keys in website/src/content/docs/widget/i18n.mdx. Done means the locale has all keys in native script, the widget i18n tests cover registered locales and fallback, and a changeset is included.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The docs say the widget ships 8 built-in locales, but packages/widget/src/i18n.ts only registers English, so any other locale silently falls back to English. Let's add the missing languages. This is a great fit for native speakers. Please comment with the language you're taking and open one PR per language.
Where to look
packages/widget/src/i18n.ts(WidgetLocaleStrings,locales)packages/core/src/i18n/*.ts. Use these as a starting point only: the es/fr/de files drop accents and the Hindi file is romanized.packages/core/tests/i18n/locales.test.ts(test pattern to copy)website/src/content/docs/widget/i18n.mdx
Acceptance criteria
- The first PR sets up the structure: one file per language in
packages/widget/src/locales/, typed asWidgetLocaleStringsand registered ini18n.ts, plus its own language - Target languages:
es,fr,de,hi,ja,zh,ar - All keys translated, with correct accents and native script (Devanagari for Hindi)
- New
packages/widget/tests/i18n.test.ts: every registered locale has a non-empty value for every key, and an unknown code falls back to English - The "Locale Strings" section of
widget/i18n.mdxlists the real widget keys - Changeset for
@chatcops/widget - Out of scope: right-to-left layout for Arabic (separate follow-up)
Comment with the language you want to take and I'll note it here. Please take one issue at a time, branch off dev, and open your PR against dev with Closes #<this issue number>. Setup notes (pnpm, build before test) are in CONTRIBUTING.md.
- Ngôn ngữ chính
- TypeScript
- Star
- 13
- Fork
- 7
- Merge trung bình
- 4 giờ 11 phút
- Pull request đã merge (30 ngày)
- 122
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của codercops/chatcops
-
enhancement hacktoberfest help wanted server
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Document the pre-chat formCó thể đã có người làm @masyarakatai đã nhận 4 ngày trước. Đang mởdocumentation good first issue hacktoberfest widget
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
codercops/chatcops#70 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement hacktoberfest help wanted server
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Create @chatcops/store-redis for Upstash and other Redis clientsCó thể đã có người làm @bhushan4work đã nhận hôm nay. Đang mởenhancement hacktoberfest help wanted server
codercops/chatcops#248 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement hacktoberfest help wanted server
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của codercops/chatcops
Issue tương tự
-
Area/Cloud Needs Triage Type/Bug
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
wso2/product-integrator#2847 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
bluesky-social/social-app#12118 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Player: speed button's accessible name doesn't include its visible textCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
heygen-com/hyperframes#6021 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Edit: Tele Posadas HDĐang mởcheck:passed streams:edit
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày