Skip to content

Translate the first-run, git setup, weather and input-method notifications - #16550

Merged
dhh merged 2 commits into
quattrofrom
first-run-i18n
Oct 25, 2026
Merged

dhh merged 2 commits into
quattrofrom
first-run-i18n

Conversation

@dhh

@dhh dhh commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

The first-run invitations (Learn Keybindings, Setup Git, Update System, Setup Wi-Fi, Set your default agent, Setup Fingerprint Reader) were sent with English literals. They live under install/, which the i18n extractor never scanned, so i18n-check didn't catch them. The same was true of:

  • the prompts and status lines in the omarchy-setup-git wizard
  • the weather status that right-clicking the weather widget sends as a notification
  • the input-method/keyboard-layout failure toast

Changes:

  • Routes all of these through omarchy-i18n, with new firstRun.*, gitSetup.*, weather.* and input.* keys in default/i18n/en/cli.json. The sync workflow will add the translations.
  • extract-scan now scans install/**/*.{sh,hook}, so a literal notification there fails i18n-check.
  • The i18n test's "every cli key is referenced" check now also reads install/ and default/**/*.py.
  • The first-run test matches the notification's --exec target instead of its English title.

Left alone:

  • migrations/1787494718.sh (frozen)
  • the "Windows VM" headline (a product name)
  • the dev notification demo
  • the .sample hooks

Tests: test/shell.d/i18n-test.sh and test/shell.d/first-run-test.sh pass, and scripts/i18n-sync.py extract-scan --check is clean.

🤖 Generated with Claude Code

…tions

The first-run invitations, the omarchy-setup-git wizard, the weather
status and the input-method failure toast sent English literals rather
than going through omarchy-i18n. The extractor and the key-reference
check now cover install/ too, so a literal there fails i18n-check.

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

greptile-apps Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; both previous findings are fixed and no new actionable issues were found.

Summary

Routes first-run notices, Git setup prompts, weather text, and input-setup failure notices through omarchy-i18n.

  • First-run reminders show translated text and keep their setup actions.
  • Git setup prompts and GitHub questions use the chosen language.
  • Weather notices show translated readings and missing-weather messages.
  • Typing setup failures show a translated title.
  • Translation checks now cover install scripts and their catalog keys.

No new actionable issues were found.

Reviews (2) · Last reviewed commit: "Cover install/ in the i18n check and ext..." · Reviewed by Greptile

Comment thread scripts/i18n-sync.py Resolved
Comment thread scripts/i18n-sync.py Resolved
…glish weather text

i18n-check skipped pull requests that only touched install/, and the sync
workflow could not extract or publish install/ changes, nor flag them for
human review. The weather sample compared against the English
unavailable text, which is now translated; it checks the exit status.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dhh
dhh merged commit bcb6ac3 into quattro Oct 25, 2026
2 checks passed
@dhh
dhh deleted the first-run-i18n branch October 25, 2026 04:15
@emirb emirb added this to the 4.5 milestone Nov 5, 2026
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.

2 participants