Repository navigation
Replies: 2 comments 2 replies
|
Good question. We faced the same in the dsh-handbook project - our approach: keep the Chinese README as canonical, maintain README.en.md (full sync, not translation lag), and translate the 12+ chapters to English (.en.md files side by side with Chinese). Each language has a switch link at the top. For the official repo, I'd suggest: translations in a /translations dir or per-file .ja.md / .zh.md siblings, with a language-switch bar in the README (like awesome-deepseek-agent does). Happy to share our sync workflow (we run consistency checks between README.md and README.en.md): https://github.com/Electricitysheep/dsh-handbook |
|
Good point — the .ja.md sibling pattern already matching this repo's convention means the layout question is settled; the real gap is the verification contract (EN↔ZH only, so .ja files won't be checked). For dsh-handbook we faced the same sync problem: we keep README.md ↔ README.en.md in sync via manual consistency checks (numbers/links/structure) each iteration, and the 14 chapters have .en.md siblings. It's labor but it catches drift early. If you extend the verifier to .ja (or make the artifact regex configurable), the pattern would scale to any language — that's probably worth a small RFC. |
Uh oh!
There was an error while loading. Please reload this page.
I've translated the root
README.mdandCONTRIBUTING.mdinto Japanese. The files are on a branch in my fork: https://github.com/eltociear/deepseek-harness/tree/add-ja-docI'm not opening a pull request —
CONTRIBUTING.mdsays external PRs can't be accepted right now, so I'm raising it here instead, as that document suggests.I don't think "merge two files" is the real question, though. Reading
docs/i18n/README.md, the documentation system looks bilingual by construction rather than multilingual with two languages configured:foo.md,foo.zh.md,foo.i18n.yaml), and the consistency record holds exactly two blob hashesverify-translation-pairing, thedsh-translation-pairingmerge driver, andtranslation-prompt.ts's two render directions all assume two sidesSo a third language isn't a file addition; it's a change to the contract, and it needs someone on the review side who reads it. That's a real cost, and it's yours to weigh rather than mine. Three ways it could go, cheapest first:
A community-translations carve-out. Japanese files live outside the pairing gate entirely — explicitly community-maintained and unverified, excluded through the existing manifest mechanism, reachable by a single link. The pairing contract is untouched and nothing in CI learns a third language. The cost is a manifest entry and the honesty of the "unverified" label.
Generalize pair → set.
.i18n.yamlrecords N hashes, switchers list N languages, the structural signature is checked per language, the website gains a locale. Correct, and much larger — and probably not worth doing for one language without a maintainer per language.Not now. The Japanese docs stay in a separate community repo with no official link. This is my default if there's no appetite, and it's a fine answer.
Either way, I'm offering to maintain the Japanese side and keep it in sync with the English source, following
terminology.mdandtranslation-rules.md.If the answer is (3), no reply is needed — I'll read the absence of interest as the answer and won't push it further. Mainly I'd like to avoid doing work that has nowhere to go.
All reactions