Skip to content

Add Kyrgyz site edition - #809

Open
jumasheff wants to merge 5 commits into
omacom:masterfrom
jumasheff:add-kyrgyz
Open

jumasheff wants to merge 5 commits into
omacom:masterfrom
jumasheff:add-kyrgyz

Conversation

@jumasheff

@jumasheff jumasheff commented Nov 21, 2026 •

Copy link
Copy Markdown

Kyrgyz is my native language. This edition is the site half of omacom/omarchy#19749, and the note there applies here too: Muse never translates Kyrgyz. A scheduled job on my machine checks the site every day, my own agent translates what changed with my own tokens, and I review every string. — Murat

Adds a Kyrgyz (ky, Кыргызча) edition at https://ky.omarchy.org. The Kyrgyz desktop in omacom/omarchy#19749 opens the English manual for now; a one-line follow-up there points Learn > Omarchy here once this edition is live.

  • src/i18n/messages/ky.json: all UI messages
  • src/i18n/ky/blocks.json: the main-page and subpage prose blocks
  • src/i18n/ky/news.json: empty for now; articles show in English until I translate them
  • ky entry in src/i18n/locales.json (domain: "https://ky.omarchy.org", flag: "KG", manual: false, community: true)
  • A Kyrgyzstan national theme in src/lib/national-themes.ts (the flag's yellow sun on its red field, Pantone 1788 C and Yellow C), with its preview taken on the Kyrgyz site, as the other language sites got in Add national themes, drawn from each language site's flag #515
  • Social cards for every theme, with the Kyrgyz letters ң ү Ө ө added to the social font subset
  • Fontsource's JetBrains Mono Cyrillic subset has no Ң ң, so the Kyrgyz edition falls back to the bundled Geist for those two letters in monospace text

Kept out of Muse

A locale can now carry "community": true. scripts/check-translations.mjs --pending-site and --pending-news leave it out of the queue unless it is named, so the hourly translate workflow never starts a Muse runner for it. npm run site:pending -- ky and npm run news:pending -- ky still show its queue to its translator, and the registry check rejects any value other than true. Pages fall back to English as they already do: site.ts returns the English message, and a news article without a current translation renders the English article. The README describes the flag; Kyrgyz is the only edition that uses it.

Translation notes

  • The reader is addressed with the polite «сиз».
  • Product names, commands, keyboard shortcuts and amounts stay as they are in English.

Checks

  • npm run check:translations passes, and node scripts/check-translations.mjs --strict-site ky passed
  • The default --pending-site and --pending-news queues leave out ky; --pending-site ky lists nothing, --pending-news ky lists the 41 articles
  • python3 -m unittest scripts/test_translate_site.py scripts/test_translate_news.py passes
  • After rebasing onto master: npm run lint, npm run typecheck, npm test, node scripts/build-national-themes.mjs --check, npm run build:locale -- ky, python3 scripts/verify-locales.py ky (59 pages, 41 RSS articles) and npm run parity (10120 addresses) pass
  • npm test and npm run parity passed
  • npm run build:locale -- ky and python3 scripts/verify-locales.py ky passed

This branch has not been deployed

No deployments
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.

1 participant