Skip to content

Run the kmscon installer in Japanese and Korean - #461

Merged
dhh merged 11 commits into
omacom:quattrofrom
xdanger:feat/kmscon-ja-ko-installer
Nov 21, 2026
Merged

dhh merged 11 commits into
omacom:quattrofrom
xdanger:feat/kmscon-ja-ko-installer

Conversation

@xdanger

@xdanger xdanger commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

The kmscon installer from #434 now runs in Japanese and Korean as well as Chinese.

What changes

  • New Japanese (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.
  • kmscon now draws Han characters in the forms of the chosen language. Before this, Japanese text used Simplified Chinese glyphs. The bundled NotoSansCJK-Regular.ttc already contains the JP, KR, SC and TC faces, so the live image doesn't grow.
  • The installer relaunches kmscon when the language's Han forms change, not only when the keyboard layout does. Otherwise picking Chinese, going back and picking Japanese with an unchanged layout would keep Chinese glyphs.
  • Keyboards need no changes. The language defaults already preselect Japanese (jp106, which kmscon runs as XKB jp/jp106) and Korean (US console keymap). Omarchy then sets up the installed system the way it already does: the session LANG, and Fcitx with Mozc or Hangul (Korean on kr:kr104). /etc/locale.conf stays as it is, per Omarchy's i18n design.
  • Picking English keeps the installer in English whatever the timezone, Asia/Tokyo and Asia/Seoul included.
  • The setup form's timezone filter placeholder is still English in Japanese and Korean. That string comes from Center Chinese progress text and translate the timezone filter for the kmscon installer omarchy#18602, and the i18n-sync workflow fills in its translations.

Verification

I built the ISO from this branch with omacom/omarchy#18602's branch and ran offline, encrypted installs in a VM:

  • Japanese: every installer screen was in Japanese, kmscon relaunched with jp/jp106, and the LUKS password typed in kmscon unlocked the disk at boot. The installed system booted into a Japanese desktop with ja_JP.UTF-8, a Fcitx group of keyboard-jp plus Mozc, and Hyprland on jp. Mozc turned nihongo into 日本語 offline.
  • Korean: every installer screen was in Korean. The installed system booted into a Korean desktop with ko_KR.UTF-8, kr:kr104 plus Hangul, and Right Alt switching to Hangul, which typed 한국어.
  • Chinese (regression): unchanged, through to a Chinese desktop.
  • Chinese, then Japanese: going back from the Chinese keyboard screen and picking Japanese with the US keyboard relaunched kmscon with Noto Sans Mono CJK JP (it kept SC before the fix), and the install finished in Japanese.
  • test/all passes. 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

Language list on the console: Japanese under its English name

Keyboard step in kmscon, Japanese preselected

Timezone, Asia/Tokyo preselected offline

Summary table

Wipe and encryption confirmation

Finish and reboot

Installed system: Japanese desktop

Installed defaults: language, Mozc, jp layout

Mozc composing 日本語

Korean

Language list on the console

Keyboard step in kmscon

Summary table

Wipe and encryption confirmation

Progress tip, centered

Finish and reboot

Installed system: Korean desktop

Installed defaults and Hangul composing 한국어

Chinese (regression)

Summary Progress Desktop
Chinese summary Chinese progress Chinese desktop

— Yunjie's automation bot

- ✨ 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
@greptile-apps

greptile-apps Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no new actionable issues were found.

Summary

Adds Japanese and Korean installer translations and selects each language’s CJK font.

  • Japanese and Korean users can read the installer in their language.
  • kmscon draws Han characters in the language the installer selected.

Reviews (4) · Last reviewed commit: "🔀 chore(merge): bring in quattro with #..." · Reviewed by Greptile

Comment thread configs/airootfs/root/configurator Resolved
- 🐛 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
@xdanger

xdanger commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

aarch64 install tests: local evidence (nested KVM)

The fork's aarch64 jobs fail because its Namespace arm64 runner has no /dev/kvm (chmod: cannot access '/dev/kvm'), so I ran them locally instead: on an Apple M5 Max, in a Lima VM with nested KVM (vz, Ubuntu 24.04.5, 12 vCPU / 48 GiB). This is local evidence, not a CI run.

Commit ff80271, with the workflow's own commands:

Step Command Result Time
Build ./bin/omarchy-iso-make --arch aarch64 --edge --no-boot-offer ok, 7.8 GB ISO 576 s
Install ./test/arm64-container ./test/arm64-install release/*.iso … pass, 9/9 checks 121 s job (73 s install, reboot and checks)
Live boot ./test/arm64-container ./test/arm64-live-boot release/*.iso … pass, installer up after 16 s 48 s
N1x install PLATFORM=aarch64-n1x ./test/arm64-container ./test/arm64-install … pass, 12/12 checks 116 s job (72 s install, reboot and checks)

Checks passed on both installs: the system reaches running, no unit failed, Hyprland is running, the requested kernel runs, sudo works, it booted through Limine's UKI, the Omarchy runtime is installed, Node is handled correctly for aarch64, and packages come only from Omarchy's mirror. The N1x install also passed these: the detector names it aarch64-n1x, the installer took the n1x default set, and the NVIDIA module is built for the running kernel.

Note: on Ubuntu 26.10 the same container fails with qemu:cpus_kick_thread: Permission denied, because Docker's AppArmor profile blocks signals within the container. Ubuntu 24.04 does not have this problem.

Live ISO installer Install in progress
live progress
Installed, first boot N1x installed, first boot
installed n1x

— Yunjie's automation bot

omarchybot and others added 2 commits November 21, 2026 09:27
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
@omarchybot

Copy link
Copy Markdown
Collaborator

Pushed f6d6bc1 here: a merge of #434's fix, which drops the English-with-a-China-timezone switch to Chinese (the reasoning is on #434). The merge kept this branch's Japanese and Korean README wording and its Han-face test, beside the new test that only the language screen sets the language.

What ran, on a disposable Omarchy VM: ./test/all at this head with omacom/omarchy#18602 as OMARCHY_PATH, green, with nothing in test_installer_i18n.py skipped. Checked for Japanese and Korean specifically: jp106 maps to XKB jp/jp106, matching the boot keymap the LUKS passphrase is typed under again, Korean types under us in both places, and the face relaunch catches Chinese picked first and Japanese on the way back. One cosmetic note: a Japanese user with jp106 starts kmscon twice, first under us and then under jp106, since the layout is only known after the keyboard screen.

Reviewed by Opus 5.5 in Claude Code, with a second opinion from Opus 5.5 at high effort and muse-wonder via pi at high effort; neither found anything in the Japanese and Korean commits or the merge.

Lands after #434; its upstream workflow runs need the maintainer's approval.

@github-actions

Copy link
Copy Markdown

Install test passed

x86_64 vs quattro
Result ✅ passed
Build the ISO 932.0 s +617.0 s
Install 44.1 s +27.1 s
First boot 10.1 s +3.7 s
Everyday boot 8.6 s +2.1 s

Boots are loader, kernel and userspace, without the VM's firmware.

Install phases, x86_64
Phase This PR quattro
Preparing live environment 1.3 s 1.3 s
Preparing install target 13 s 6.6 s
Installing Arch + Omarchy 24.4 s 5.6 s
Configuring hibernation 0.3 s 0.2 s
Configuring system 2.6 s 1.7 s
Staging provisioning 0 s 0 s
Finalizing boot and user 2 s 1.3 s
Configuring login 0 s 0 s
Configuring SSH access 0.2 s 0.2 s
Configuring Tailscale 0 s 0 s
Configuring DNS resolver 0 s 0 s
Validating boot setup 0 s 0 s
Creating factory snapshot 0.1 s 0 s

Run · f6d6bc1

@omarchybot

Copy link
Copy Markdown
Collaborator

#434 has landed on quattro as a squash, so this branch conflicted with its own earlier commits. Pushed d68d93e, a merge of current quattro: the four conflicts (README, configurator, omarchy-iso-kmscon, test_installer_i18n.py) take this branch's side, which already held all of #434, and quattro's other changes, the VM image documentation among them, came through untouched. The diff against quattro is now exactly the Japanese and Korean work, six files, and I dropped the stacking note from the description since there is nothing left to merge first.

What ran: ./test/all on a disposable Omarchy VM at this head, green, with nothing in test_installer_i18n.py skipped. Opus 5.5 at high effort reviewed the resolution against the Japanese and Korean commits and what #434 landed, and found nothing lost, nothing duplicated and no China-timezone code back; Greptile scores this head 5/5.

Waiting on the maintainer: the upstream workflow runs for this head need approval.

@dhh
dhh merged commit fcf4695 into omacom:quattro Nov 21, 2026
1 check passed
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.

3 participants