Translating this repo: What you need to know as maintainers
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 90/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
調査の方向性
problem-specifications リポジトリの翻訳プロセスを理解するために issue を読んでください。この issue では、新しいリポジトリ(i18n、translator)、スクリプト、および新しいコンテンツを翻訳するためのワークフローについて説明しています。メンテナーとして、PR に 'ready-to-translate' ラベルをいつ適用するかを知る必要があります。コードの変更は不要です。これはメンテナー向けの純粋な情報提供です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Ruby
- スター
- 362
- フォーク
- 566
- 平均マージ
- 15時間 13分
- マージ済み PR(30日)
- 8
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
exercism/problem-specifications のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
exercism/problem-specifications#2704 · コメント 21 件 · リアクション 8 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 35/100
exercism/problem-specifications#2153 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
exercism/problem-specifications#2120 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
exercism/problem-specifications#2108 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
exercism/problem-specifications#2083 ·
メンテナーはふだん 1 日以内に返信
exercism/problem-specifications の issue をすべて見る
似ている issue
-
開発用DockerイメージにPlaywrightのシステム依存を追加する対応中かも @momocus が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
sakazuki-org/sakazuki#1453 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
jenkins-infra/jenkins.io#9615 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
fix(ocr): compile the Tesseract-free pipeline with Tokio runtime対応中かも @Goldziher が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Metric tooltips that contradict how the metric is calculated対応中かも @aniadeadu が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
WikiEducationFoundation/WikiEduDashboard#7303 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
WhatsApp Cloud template sync saves a partial template list when one page of the Graph API response fails対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信