Skip to content

Remove dead links to deleted translation documentation - #662

Merged
smorimoto merged 1 commit into
tc39:mainfrom
0xDevNinja:fix/dead-translation-doc-links
Sep 27, 2026
Merged

smorimoto merged 1 commit into
tc39:mainfrom
0xDevNinja:fix/dead-translation-doc-links

Conversation

@0xDevNinja

Copy link
Copy Markdown
Contributor

Summary

Commit ef93571 ("Remove translation_*.md") deleted the per-language translation docs (translation_de.md, translation_ja.md, translation_ru.md, translation_uk.md, translation_fr.md, translation_zh-Hans.md), but several references to those files were left behind and now point at 404s. This PR repoints those references at the surviving root translation.md, drops the now-dead "See the X Translation documentation" lines from translation.md, and fixes a couple of small adjacent issues spotted in the same file.

Changes

translation.md

  • Drop the four See the [X Translation documentation](translation_X.md) lines (all targets are deleted).
  • Fix heading typo ### German transation: → ### German Translation:.
  • Fix mislabel ### Traditional Chinese Translation: → ### Simplified Chinese Translation: (the section is for zh-Hans, which is Simplified).
  • Fix two stale data-file extensions in the prose:
    • _data/en/stage3.yml → _data/en/stage3.json
    • _data/languages.yml → _data/languages.json
      (Both files are JSON in the repo; the .yml references are leftovers from before the Eleventy migration.)

{de,ja,ru,zh-Hans,uk}/proposals.json
For each locale, repoint two fields at the surviving doc:

  • needs_translation_url: …/translation_<lang>.md → …/translation.md
  • community_translations: the embedded <a href="…/translation_<lang>.md"> link is repointed the same way.

fr/ and en/ already point at translation.md; no change needed there.

Out of scope (deliberately not in this PR)

  • Restoring per-language translation docs as separate files. If maintainers want them back, that's a separate effort and the link targets here can be flipped over again at that point.
  • Untranslated strings in de/site.json footer.coc, zh-Hans/site.json footer.coc, and fr/proposals.json specification — those are real but unrelated to dead-link cleanup.

Test plan

  • grep -r 'translation_.*\.md' translation.md {de,fr,ja,ru,zh-Hans,uk,en}/proposals.json README.md returns no matches after the change.
  • npm run build succeeds; _site/{en,de,fr,ja,ru,zh-Hans,uk}/index.html render normally.
  • CI (lint + build) green on this PR.

smorimoto
smorimoto previously approved these changes Jun 29, 2026
@smorimoto
smorimoto force-pushed the fix/dead-translation-doc-links branch from 4fa3462 to 430509f Compare September 27, 2026 17:26
@smorimoto smorimoto added bug Something isn't working content Related to creating / editing content labels Sep 27, 2026
@smorimoto
smorimoto force-pushed the fix/dead-translation-doc-links branch from 430509f to a3adbce Compare September 27, 2026 17:28
@smorimoto smorimoto changed the title fix: remove dead links to deleted translation_*.md files Remove dead links to deleted translation documentation Sep 27, 2026
@smorimoto
smorimoto merged commit da17650 into tc39:main Sep 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working content Related to creating / editing content

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants