Repository navigation
feat(website): add maintained multilingual editions - #1779
Conversation
Adapt CJK font stacks, original copy-button label restoration, accessibility wording and Traditional Chinese onboarding improvements from PR #1737. Protect the complete APK filename and correct setup terminology. Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Use the website language inventory when comparing README links. Accept the matching localized page while retaining checks for wrong locales, changed destinations, fragments and query parameters.
|
nice! |
|
@codex review The documentation CI failure is fixed: README website links are compared through the shared language inventory, preserving page, fragment and query checks. Regression coverage accepts matching localized links and rejects wrong locales or changed destinations. The documentation gate, 11 focused tests, typecheck and lint pass locally. |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Readers can now use the REA website in all 19 README languages. The homepage, onboarding, guides, showcases, blog and interactive examples share one English layout and build into static language editions, with a selector that opens the equivalent page.
Fixes #1022. This supersedes the overlapping infrastructure in #1737. Its CJK font choices, original copy-button label restoration, accessibility wording and portions of the Traditional Chinese onboarding draft are incorporated, with contributor credit.
Problem and expected behavior
The website previously required English, even when readers entered from a translated README. Maintaining separate translated HTML trees would multiply layout work and make stale instructions difficult to identify.
English keeps its existing URLs. Other editions use language prefixes such as
/zh-CN/,/ja/and/pt-BR/. Arabic and Persian have RTL layouts; code and numeric demonstrations retain their reading direction.Change and scope
hreflanglinks.website/_site/artifact to Cloudflare and GitHub Pages. Generated language HTML stays ignored.Contract and boundary impact
scripts/website_i18n.py.Evidence and regression coverage
Integration checks cover source drift, obsolete/fuzzy translations, fallback and restoration, runtime extraction, invalid placeholders and markup, safe build failure, all language routes, reciprocal metadata, protected evidence, prefix hosting and fixture downloads.
Initial catalogs include machine-assisted drafts and editorial corrections. Further language review is welcome through the documented PO workflow. Layout and interaction checks ran in Linux Chromium; Windows and macOS rendering have not been exercised locally.
Validation performed
python scripts/website.py check— 11 regression tests and website verification.python scripts/website.py translations check --strict— all 18 translation catalogs complete, with 1,477 source messages.msgfmt --check-format— all catalogs pass.npm run docs:check— all six artifact and documentation checks pass.npm run check:fast— typecheck and lint pass./rea/hosting, including copying, calculator, dinosaur, Aegis, FAQ anchors and navigation without JavaScript.Compatibility, safety, and release
Existing English routes and target inputs are preserved. No runtime package release is needed. Catalogs and documentation are authored inputs; generated assets and temporary review tooling are excluded.
Review checklist