Repository navigation
Conversation
- ✨ picking Simplified Chinese, or a China timezone, hands the gum TUI to kmscon before the disk step - 🌐 add the zh-CN catalog and translate the disk, verify and finish messages - 📦 ship kmscon and only the Noto CJK Regular TTC on x86_64 - 🐛 languages the console cannot draw fall back to English instead of boxes - ⏪ keep the English console, with the chosen keymap loaded, when kmscon fails to start - ⌨️ give kmscon the XKB layout, model and options the boot keymap types with
- 🐛 a keyboard change in a retry after an abort returned to the shell instead of relaunching kmscon with the new layout
- ✨ kmscon already carries CJK, so catalogs are all Japanese and Korean lacked - ✅ cover both staying English on the console, and kana and Hangul widths
- ✨ Japanese read Simplified Chinese glyphs; the bundled collection has every form
Codex Review Summary: ✅ CompletedThis 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. |
There was a problem hiding this comment.
🔵 Needs a closer look
Switching from Chinese to Japanese without changing the keyboard leaves kmscon using Chinese Han glyphs because language-dependent font changes do not trigger a relaunch.
No open issues 🎉
What changed in this PR
Extends the existing kmscon installer localization to Japanese and Korean, reusing the bundled CJK font collection.
Changes:
- Adds Japanese and Korean installer catalogs.
- Selects language-specific CJK font families at kmscon startup.
- Expands console-fallback and display-width tests and updates the documentation.
| File | Description |
|---|---|
test/unit/test_installer_i18n.py |
Adds Japanese and Korean fallback and display-width checks. |
README.md |
Documents expanded language support and localized Han glyphs. |
configs/airootfs/usr/share/omarchy-iso/i18n/ko.json |
Adds Korean installer translations. |
configs/airootfs/usr/share/omarchy-iso/i18n/ja.json |
Adds Japanese installer translations. |
configs/airootfs/usr/local/bin/omarchy-iso-kmscon |
Selects the CJK font family from the saved language. |
Review effort: Balanced
- 🐛 going back from Chinese to Japanese kept Chinese glyphs when the layout stayed the same - ✅ cover the font family each language gets
- 🔧 the base predates leaving hp-omnibook-3-audio and the Surface address package out of x86_64 builds
Install test failure
Boots are loader, kernel and userspace, without the VM's firmware. Install phases, x86_64
|
aarch64 install tests: second local run (QEMU + HVF, no nested KVM)An independent rerun of the fork's three aarch64 jobs for commit
Installed system: How this run differs from CI (only in the local, uncommitted test-script patch):
Checks (install)Checks (N1x) |
English with a China timezone switched the installer to Chinese after the summary had shown and confirmed English. That language is also what the installed system gets, so the desktop came up in Chinese without a Chinese input method, and the disk-wipe confirmation appeared in a language the user had not chosen. It also ran after Ctrl+C had armed preparing the machine for another owner, carrying the next owner's install into Chinese. A timezone says where someone is, not what they read; Chinese is one pick on the first screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # README.md # test/unit/test_installer_i18n.py
) * ✨ feat(installer): draw Chinese in kmscon with a CJK font - ✨ picking Simplified Chinese, or a China timezone, hands the gum TUI to kmscon before the disk step - 🌐 add the zh-CN catalog and translate the disk, verify and finish messages - 📦 ship kmscon and only the Noto CJK Regular TTC on x86_64 - 🐛 languages the console cannot draw fall back to English instead of boxes - ⏪ keep the English console, with the chosen keymap loaded, when kmscon fails to start - ⌨️ give kmscon the XKB layout, model and options the boot keymap types with * 📝 docs(readme): explain the kmscon path for CJK translations * 🐛 fix(installer): relaunch kmscon from the retry shell - 🐛 a keyboard change in a retry after an abort returned to the shell instead of relaunching kmscon with the new layout * 🐛 fix(installer): keep the language the user picked English with a China timezone switched the installer to Chinese after the summary had shown and confirmed English. That language is also what the installed system gets, so the desktop came up in Chinese without a Chinese input method, and the disk-wipe confirmation appeared in a language the user had not chosen. It also ran after Ctrl+C had armed preparing the machine for another owner, carrying the next owner's install into Chinese. A timezone says where someone is, not what they read; Chinese is one pick on the first screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
Merged upstream in omacom#461, so closing this fork PR. — Yunjie's automation bot |








The kmscon installer from omacom#434 now runs in Japanese and Korean as well as Chinese. This fork PR targets
quattroso CI builds against the current package lists; omacom#434's three commits come first, then the Japanese and Korean work and a merge ofquattro. Upstream: omacom#461.What changes
ja) and Korean (ko) installer catalogs. Picking either language moves the installer into kmscon, the same way Simplified Chinese does. The handoff, display-width centering and font bundle are unchanged.NotoSansCJK-Regular.ttcalready contains the JP, KR, SC and TC faces, so the live image doesn't grow.Japanese(jp106, which kmscon runs as XKBjp/jp106) andKorean(US console keymap). Omarchy then sets up the installed system the way it already does: the sessionLANG, and Fcitx with Mozc or Hangul (Korean onkr:kr104)./etc/locale.confstays as it is, per Omarchy's i18n design.Verification
I built the ISO from this branch with omacom/omarchy#18602's branch and ran offline, encrypted installs in a VM:
jp/jp106, and the LUKS password typed in kmscon unlocked the disk at boot. The installed system booted into a Japanese desktop withja_JP.UTF-8, a Fcitx group ofkeyboard-jpplus Mozc, and Hyprland onjp. Mozc turnednihongointo 日本語 offline.ko_KR.UTF-8,kr:kr104plus Hangul, and Right Alt switching to Hangul, which typed 한국어.Noto Sans Mono CJK JP(it keptSCbefore the fix), and the install finished in Japanese.test/allpasses. The new cases check that Japanese and Korean stay in English on the console, and that kana and Hangul count as two columns.Screenshots
From offline, encrypted installs of the ISO built from this branch.
Japanese
Korean
Chinese (regression)
— Yunjie's automation bot