Every Mac string (930), every Windows and Linux string of extra.json (473),
and every What's new entry, in Japanese. Added to the language pickers, the
bundle localizations and the plural rules (one form, as Korean). Mac 16
languages, Windows and Linux 14.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Settings → Chat → Your AI subscriptions: a switch per provider (Claude,
Google Gemini, ChatGPT, Cursor, GitHub Copilot), whether its terminal tool is
installed, how to sign in. cli_relay.rs runs Antigravity CLI / Gemini CLI,
Codex CLI, Cursor CLI and Copilot CLI read-only (plan or ask modes, no shell,
no edits), Claude Code through claude_code.rs as before. Through npm's .cmd
shims the prompt goes on stdin. Cursor and Copilot join the chat's picker once
their switch is on. The phone's chat takes the same path.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Mac: Korean for all 904 strings of the catalog, ko in both targets'
CFBundleLocalizations (project.yml and the two Info.plist files) and
한국어 in the language picker.
Windows/Linux: ko registered in the generator, i18n.ts and i18n.rs (no
plural forms, like zh-Hans), the 386 Windows/Linux-only strings
translated in extra.json, strings.json regenerated, and Korean tests
alongside the German and Turkish ones.
Ohualtex's Turkish translation, re-applied onto current main the same way
as German:
- Localizable.xcstrings: the "tr" localization of every main key #700
translates, nothing else changed; the newer whatsapp.* and update.*
strings stay in English for now (whatsapp.remove and step.needs-input
are translated: Windows shows them).
- Türkçe in the language picker, CFBundleLocalizations of both Mac
targets.
- Windows and Linux: "tr" in the language lists, #700's Turkish values for
extra.json, strings.json regenerated, and #700's tests (its registration
check is the one the German commit already has).
Co-Authored-By: Ohualtex <230626673+Ohualtex@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Ohualtex's German translation, re-applied onto current main:
- Localizable.xcstrings: the "de" localization of every main key #701
translates, nothing else changed; the newer whatsapp.* and update.*
strings stay in English for now (whatsapp.remove and step.needs-input
are translated: Windows shows them).
- Deutsch in the language picker, CFBundleLocalizations of both Mac
targets (Info.plist, InfoAppStore.plist, project.yml).
- Windows and Linux: "de" in the language lists (gen-strings, i18n.ts,
i18n.rs), #701's German values for extra.json, strings.json regenerated,
and #701's tests. The Apple-catalog checks now accept strings newer than
a translation, and the registration check lets the Mac have languages
Windows and Linux don't.
Co-Authored-By: Ohualtex <230626673+Ohualtex@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
The Mac catalog gained the Mail, Crypto and Portfolio strings, and Xcode also
keeps every literal it finds (brand names, " +%@"…) with no translation. The
generator now takes a string only when it is translated in every language:
an untranslated one shows in English on the Mac too, so Windows has nothing
to add. strings.json is regenerated (401 → 419 strings) and the four i18n
tests pass again (397/397), with no change to the tests or to extra.json.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Strings are looked up by their English text, like the Mac's catalog:
t("Allow"), t("Uploading {name}", { name }), tn(one, other, n) for plurals.
- scripts/gen-strings.mjs turns NotchBuddy/Resources/Localizable.xcstrings
into src/i18n/strings.json: Mac keys such as "step.reads" become their
English text, %@ / %lld become {placeholders} (named where the Windows
code uses them), plural variations keep their categories.
- src/i18n/extra.json holds the strings only Windows and Linux show, in
all ten languages.
- src/i18n/i18n.ts: lookup with English fallback, Intl plural rules, the
System choice (system language when Coucou has it, else English; pt → pt-BR,
zh-CN → zh-Hans), dates through Intl, and onLanguageChange.
- views/dom.ts: a tl(…) text given to h() relabels itself in place when the
language changes, so no view has to be rebuilt.
- src-tauri/src/i18n.rs embeds the same two files with include_str! and
answers the same way (t, tf, tn); its tests run in English per thread.
- Tests load the JSON through the setup hook, as Vite does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DMzyoPKtGVNBUemdZhnWRG