Translating this repo: What you need to know as maintainers
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ó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 90/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- documentation
Hướng nghiên cứu
Đọc issue để hiểu quy trình dịch cho kho lưu trữ problem-specifications. Issue giải thích các kho mới (i18n, translator), tập lệnh và quy trình làm việc để dịch nội dung mới. Với tư cách là người bảo trì, bạn cần biết khi nào áp dụng nhãn 'ready-to-translate' cho các PR. Không cần thay đổi mã; đây chỉ là thông tin dành cho người bảo trì.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi maintainers!
We'll soon be launching Exercism in multiple languages. This issue explains how the translation process works. I'm opening a variant of this issue around GitHub, so apologies if you see it multiple times. If there are any docs that you think need updating for this (either within tracks, or globally), please PR changes :)
New bits
There are two new repos to be aware of:
- i18n: This is where the translations live
- translator: This is the machinery behind the translations
There are also some new scripts that will be coming from org-wide-files, which will be PR'd and auto-merged soon (for non-track repos, these will be added directly to the repo)
I am manually generating translations of all content in this repo, so all you need to consider is new changes.
Methodology for new content
When a PR opens, a script will check whether the new git blobs exist in the i18n repo for all locales. If they don't, the PR will fail CI.
You (a maintainer) can add a new label ready-to-translate to the PR, which will open a new issue in the i18n repo with details. That new issue then triggers a workflow that causes the files to be translated and pushed to the i18n repo. Once that happens, the PR in this repo will have its check re-triggered and it should go green, at which point you can merge. For most situations this whole thing should take ~10 minutes end-to-end.
If someone pushes more copy changes to the PR, the label will automatically be removed and you will need to add it again to retranslate. So I recommend only adding the label once the PR is signed off to avoid churn. Each translation also costs us money, so this approach also saves us real cash!
A PR with more than 3,000 untranslated words gets held for manual approval. Please ping me if you hit this.
Existing Pull Requests
Any PRs that predate this will need action before they can be merged. Any of the following will run the relevant i18n GitHub Action:
- "Update Branch" button if available
- Rebasing/pushing to the PR
- Closing/Reopening the PR
If the PR changes English, add the ready-to-translate label once the check has run.
What's translated?
On a track, these files are treated as English and get translated:
exercises/*/*/.docs/instructions.mdexercises/*/*/.docs/instructions.append.mdexercises/*/*/.docs/introduction.mdexercises/*/*/.docs/introduction.append.mdexercises/*/*/.docs/hints.mdexercises/shared/.docs/*.md(help, tests, debug)concepts/*/about.mdconcepts/*/introduction.mddocs/*.md(the track's own documentation pages)
Plus a few text fields, rather than whole files:
- Exercise and concept names from
config.json - Exercise and concept blurbs from each exercise's or concept's
.meta/config.json - Track doc titles and blurbs from
docs/config.json
Everything else in the repository is left along. Nothing is ever written to track repositiories. The workflows only read a PR, and the translations are stored in exercism/i18n.
Viewing Translations
There are indexes for each language/repo here at https://github.com/exercism/i18n/blob/main/index/markdown/$LOCALE/$REPO.md where you can get links to all the translations. For example: Hungarian Python.
(Fixes to translations will happen via the forum, but I think that's a different discussion from this issue as it's org-wide and not your (direct!) responsibility as maintainers so I don't want to burden you with more information).
I intend to push Hungarian live today, and then start rolling other (natural) languages out over the next week.
- Ngôn ngữ chính
- Ruby
- Star
- 362
- Fork
- 566
- Merge trung bình
- 15 giờ 13 phút
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 exercism/problem-specifications
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
exercism/problem-specifications#2704 · 21 bình luận · 8 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 35/100
exercism/problem-specifications#2153 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
exercism/problem-specifications#2120 · 7 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
exercism/problem-specifications#2108 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
exercism/problem-specifications#2083 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của exercism/problem-specifications
Issue tương tự
-
Bug Ruby Waiting for: Product Owner
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
getsentry/sentry-ruby#3228 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
開発用DockerイメージにPlaywrightのシステム依存を追加するCó thể đã có người làm @momocus đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
sakazuki-org/sakazuki#1453 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
jenkins-infra/jenkins.io#9615 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày