Skip to content

docs: retire the translation layer, English as single source - #447

Merged
em3s merged 1 commit into
mainfrom
docs/retire-translations
Jul 22, 2026
Merged

em3s merged 1 commit into
mainfrom
docs/retire-translations

Conversation

@em3s

@em3s em3s commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Retire the translation layer and keep English as the single source of truth. Only Korean (ko/) translations existed and they had already drifted from the English source; in an LLM era, readers can translate on demand.

Closes #445. Reverses the direction of #202 (TM-based i18n) and #126 (Kanana-2 auto-translation), both closed without landing.

Changes

  • Remove Korean docs (website/src/content/docs/ko/**, 32 pages)
  • Remove locale UI (LanguageSelect, the PageSidebar switcher) and the Footer Kanana-2 notice
  • Remove translation tooling: i18n/ (TM + translate script), lunaria/ dashboard and config, TRANSLATION.md, the translation.yml workflow, the @lunariajs/core dependency
  • Remove the CONTRIBUTING "Translations" section and the translated-by-kanana-2 collection field
  • astro.config: single English locale, drop /ko/ redirects, sidebar ko labels, and errorOnInconsistentLocale

How to Test

cd website && CHECK_LINKS=true npm run build — passes with 1 language and all internal links valid; npm run lint and format:check clean.

AI Assistance

  • This PR was written largely with AI assistance.
    • Tool / model: claude code

Only Korean (ko/) translations existed and they had already drifted from
the English source. Retire the translation layer entirely and keep
English as the single source of truth (#445).

Removed:
- Korean docs (website/src/content/docs/ko/**, 32 pages)
- Locale UI: LanguageSelect + the language switcher in PageSidebar
- Translation tooling: i18n/ (TM + translate script), lunaria/ dashboard
  and config, TRANSLATION.md, the translation.yml workflow
- Footer Kanana-2 notice and its content-collection field
- @lunariajs/core dependency and the lunaria:build / translate scripts
- CONTRIBUTING "Translations" section

astro.config: single English locale, dropped /ko/ redirects, sidebar ko
labels, and errorOnInconsistentLocale.

Verified: CHECK_LINKS build passes (1 language, all links valid);
prettier and eslint clean.

Reverses the direction of #202 (TM-based i18n) and #126 (Kanana-2
auto-translation, both closed without landing.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
EOF
)
@dosubot dosubot Bot added size:XXL This PR changes 1000+ lines, ignoring generated files. documentation Improvements or additions to documentation maintenance Maintenance work. labels Jul 22, 2026
@em3s
em3s merged commit ba064c4 into main Jul 22, 2026
3 checks passed
@em3s
em3s deleted the docs/retire-translations branch July 22, 2026 04:57
@em3s em3s self-assigned this Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation maintenance Maintenance work. size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal: retire translated docs, keep English as the single source of truth

1 participant