feat(locale): add Portuguese (pt) locale
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả 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
Read src/locales/types.ts and use src/locales/es.ts or de.ts as a template for src/locales/pt.ts; then register the locale in src/locales/index.ts. Add locale tests under tests/locales/ and run npm run test:coverage, which should retain 100% coverage. Update the locale list and count in the Locales section and other mentions in README.md, plus docs/docs.html; done means Portuguese is registered, tested, and documented.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
ForgeData ships 9 built-in locales (en, bn, hi, ar, ja, fr, de, es, zh). Portuguese is one of the most widely spoken languages and is not covered yet.
What to do
- Add
src/locales/pt.tsexporting aLocaleDataobject (shape:src/locales/types.ts; usesrc/locales/es.tsorde.tsas a template) with realistic Portuguese/Brazilian first names (male/female), last names, job titles, professions, cities, states, countries, company suffixes (e.g.Ltda.,S.A.), catch-phrase words and lorem words. - Register it in
src/locales/index.ts(import, re-export, add tobuiltInLocales). - Add tests (e.g. in
tests/locales/) — coverage must stay at 100% (npm run test:coverage). - Update the locale list in
README.md(Locales section + "9 built-in locales" mentions) anddocs/docs.html.
PR title: feat(locale): add Portuguese (pt) locale. See CONTRIBUTING.md.
Other locales (e.g. it, ko, ru, tr, id) are welcome too — please open a separate issue/PR per locale.
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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 SahinurDEV/ForgeData
-
documentation good first issue hacktoberfest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
SahinurDEV/ForgeData#17 ·
-
enhancement good first issue hacktoberfest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
SahinurDEV/ForgeData#16 ·
-
enhancement good first issue hacktoberfest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
SahinurDEV/ForgeData#15 ·
Tất cả issue của SahinurDEV/ForgeData
Issue tương tự
-
clawsweeper:intake:bug clawsweeper:intake:needs-environment
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
openclaw/openclaw#212827 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
KT-2245 e2e specs that call the backend directly fall back to the developer's own Kronn on :3140Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Use one constant for the 10,000-character input limitCó thể đã có người làm @NginxL đã nhận hôm nay. Đang mởgood first issue refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
aniru-dh21/snap-validate#51 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
dependencies effort: small good first issue priority: low
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
TMHSDigital/screencast-mcp#509 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
from-review tech-debt testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
blamechris/chroxy#9520 ·
Maintainer thường phản hồi trong vòng 1 ngày