Skip to content

Expand omarchy.org to 50 languages - #377

Merged
omarchybot merged 88 commits into
masterfrom
fifty-languages
Oct 24, 2026
Merged

omarchybot merged 88 commits into
masterfrom
fifty-languages

Conversation

@dhh

@dhh dhh commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

omarchy.org goes from 31 to 50 language editions: everything macOS and Windows ship as a full system language, the eight existing smaller editions, Persian and Swahili by speakers, and Brazilian Portuguese as its own edition. This supersedes #362, which produced 100 editions; the target was cut because a long tail of tiny languages adds quality risk without adding readers. The other translated editions remain in this branch's history and in the owner workspaces, and re-adding one is one registry line plus translate-owners.py publish.

The 50

  • Both vendors' full tiers (39): English, Arabic, Bulgarian, Catalan, Chinese Simplified, Chinese Traditional, Croatian, Czech, Danish, Dutch, Estonian, Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Latvian, Lithuanian, Malay, Norwegian, Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian, Vietnamese.
  • Existing editions kept (8): Icelandic, Irish, Filipino, Urdu, Bengali, Sinhala, Tamil, Uzbek.
  • By speakers (2): Persian, Swahili.
  • Regional edition both vendors ship (1): Brazilian Portuguese. The existing Portuguese edition is now labelled Português (Portugal).

New in this PR (19 editions): Bulgarian, Brazilian Portuguese, Chinese Traditional, Croatian, Czech, Estonian, German, Hebrew, Indonesian, Latvian, Malay, Persian, Romanian, Russian, Serbian, Slovak, Slovenian, Swahili, Ukrainian. Each was translated by its own headless Muse session, validated against the repository's structural checks, built, verified, and rendered to social cards before its draft flag came off. Each is its own commit.

What changed besides the translations

  • Registry schema: every entry carries englishName and an ISO 15924 script; searchTerms and draft are optional. Validation requires direction: rtl for right-to-left scripts, a flag for subdomain editions, and Node Intl support per format locale. A draft edition is buildable and translatable but hidden from menus, alternate links, deploys, and the social-card tests.
  • Language menus: the header switcher is a searchable combobox (native and English names, diacritic-insensitive) that pins the current language and groups the rest by script; the footer is a grouped grid that keeps one real link per edition; the command palette ranks language rows after content.
  • Fonts: per-script browser font stacks so non-Latin editions no longer fall to the generic monospace; Cyrillic, Greek, and Vietnamese subsets of the brand fonts, preloaded per edition; the social-card subsetter is keyed by script with a coverage report. New subsets for Hebrew and Traditional Chinese are checked in with notices.
  • Owner launcher: scripts/translate-owners.py runs one Muse session per language in a workspace outside the repository, with a ledger, resume, backoff, collection, and a publish gate (strict check → fonts → build → verify → un-draft). Documented in docs/translations.md.
  • Workflow: the deploy matrix width reads from a LANGUAGE_DEPLOY_PARALLEL repository variable (default 6); the translation matrix includes drafts, the deploy matrix skips them.
  • Roster: plans/100-languages-roster.json still records the full ranking and a probe of each preferred country domain; plans/100-languages.md notes the cut.

Domains

Every new edition starts at <code>.omarchy.org. Of this PR's editions, country domains that looked available on 2026-09-12: omarchy.ir, omarchy.tz, omarchy.ua. Registered by others: omarchy.ru, .id, .my, .com.br, .ro, .cz, .rs, .bg, .sk, .si, .hr. omarchy.de serves Omarchy-flavoured content that is not ours. Moving an edition to a bought domain is the existing handoff in docs/translations.md.

Notes for review

  • Quality spot-checked in German, Russian, and Traditional Chinese (288 traditional-only characters, zero simplified-only). Every edition has an owner report with vocabulary choices under its workspace.
  • Deploying 19 more Workers plus subdomain custom domains needs a Cloudflare headroom check; Wrangler was not logged in here. The omacom org is on GitHub's Free plan with 20 concurrent hosted runners.
  • The manual stays English for every edition, as before.

Test plan

  • npm test, npm run lint, npm run typecheck green on the final tree
  • npm run check:translations -- --strict-site --strict-news passes for all 50 languages
  • Every new edition built with npm run build:locale and verified with scripts/verify-locales.py before its draft flag was removed
  • Switcher, footer, and palette screenshotted in Danish and Arabic at desktop and phone widths

🤖 Generated with Claude Code

https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8

dhh and others added 30 commits September 12, 2026 20:43
Add the roster that takes the site from 31 to 100 languages, generated by
scripts/language-roster.py with its ranking sources, Intl checks, and a
probe of each preferred country domain. Give every registry entry an
English name and ISO 15924 script, and introduce a draft flag that keeps
an edition buildable and translatable while hiding it from other
editions' menus, alternate links, and deployments.

Add scripts/translate-owners.py, which runs one headless Muse session per
language in a workspace outside the repository, with a ledger, resume,
and collection of validated results, plus the validator each owner runs
against its own output. Extend verify-locales.py to check the footer
language nav contract, and document the new fields and the owner flow.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Key the Noto subset table by the registry's ISO 15924 script instead of
by language code, make the font directories configurable, and add a
coverage report that lists missing code points per locale before any
card is rendered. Accept the title separators translators actually use,
skip editions that have no card copy yet instead of failing every
import, and give Myanmar, Khmer, and Tibetan deeper line boxes so their
cards fit at a readable size. Document the new families and their
licences.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Turn the header switcher into a searchable combobox that pins the
current language and groups the rest by script, lay the footer
languages out as a grouped grid that keeps one real link per edition,
rank language rows after content in the command palette, and switch the
search field to logical properties so right-to-left editions mirror.

Give every script a browser font stack so non-Latin editions no longer
fall to the generic monospace, load the Cyrillic, Greek, and Vietnamese
subsets of the brand fonts and preload the one each edition needs, and
drive the ideographic punctuation branches from the registry script.

Seed the 69 roster editions into the registry as drafts with empty
catalogues, and let the owner supervisor adopt sessions started by a
previous supervisor.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Add a publish step to the owner launcher that collects, runs the strict
translation check for the edition, regenerates the social-card font
subsets when its script is not covered yet, builds and verifies the
edition, and only then removes the draft flag. Let the deploy matrix
width come from a repository variable, since GitHub-hosted runners on
the Free plan allow 20 concurrent jobs for the whole account.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
First of the new editions through the owner flow: translated by one
Muse session, collected, strictly checked, built, verified, and its
social cards rendered with the regenerated font subsets.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016RDDR34nwZxLPdE9pBQ9V8
omarchybot and others added 3 commits October 22, 2026 16:34
Brings in the 304 commits master gained since the branch was cut, including Bosnian. Messages, news titles and the registry merge key by key; Bosnian gets the englishName and script the new registry schema requires, making 51 editions. The deployment-registry check keeps the draft handling here and master's edition-name pattern, so infrastructure Workers like omarchy-ping are not mistaken for unmanaged editions. verify-locales keeps the check() form and gains master's RSS autodiscovery assertion.

Five Portuguese and four Uzbek news articles take master's translations: their English sources changed after this branch retranslated them, so this branch's versions were out of date. The Portuguese ones may need a European Portuguese pass again. The Latin social-card font keeps this branch's subset, which already covers the Bosnian, Croatian and Slovenian alphabet.

🤖 Generated by Opus 5.5 in Claude Code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in #465, #225 and #598. #465 removed the theme hint popup and its one string from every existing edition; the new editions here and Bosnian drop it too, so no edition carries a message nothing renders.

🤖 Generated by Opus 5.5 in Claude Code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The bundled formatter read Gregorian months and days and shifted only the year, which held for Thai's Buddhist calendar but put every Persian date in the wrong month and day: 1 January 2025 came out as 11 Dey 1404 instead of 12 Dey 1403. It now records the edition's calendar, reads year, month and day in that calendar from numeric en-US output, and samples month and day names on dates where that calendar's field takes each value. Thai goes through the same path, so the year offset is gone.

🤖 Generated by Opus 5.5 in Claude Code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Unayung

Unayung commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

@dhh #617 targets this branch and swaps the zh-TW copy for the one reviewed in #252. It removes 代幣 and 極客, adds the nine posts zh-TW was missing here, and keeps your registry entry, zh-tw.omarchy.org, and the language-menu strings. zh-TW passes the strict check, and build and verify pass too.

@thinklinux

thinklinux commented Oct 23, 2026 •

Copy link
Copy Markdown

@dhh #345 is closed in favour of this one. That's fine. But I bought omarchy.bg when making the other PR. Let's point it to the right direction. Tell me what do you need from me to make this work. Thanks!

@omarchybot
omarchybot merged commit 2195627 into master Oct 24, 2026
11 checks passed
jennabrinning pushed a commit to jennabrinning/omarchy-site that referenced this pull request Oct 24, 2026
omarchy-geo, an infrastructure Worker, matched the two-or-three-letter pattern and failed every translate run since it was deployed, which blocks the 19 editions omacom#377 added from publishing. geo is Georgian's old bibliographic code, which Intl canonicalizes to ka, so an edition is now a known language whose code is already canonical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Unayung added a commit to Unayung/omarchy-site that referenced this pull request Oct 27, 2026
omacom#377 merged without this branch, and master's hourly translator has since
retranslated the zh-TW edition. Keeps the reviewed copy for every string
and article whose English source is unchanged (all 36 articles' source
hashes match master), takes master's nine new UI strings, and drops the
keys master removed. Refreshes the Hant social-card subset for the
reviewed tagline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WJ3XRyi6MjBLNA3Ngs9vFk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants