Repository navigation
feat(native): whole-app i18n localization sweep and reactive menus (AP-I18N) - #456
Merged
Merged
Conversation
This was referenced Nov 20, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Completes #441 Part B (
AP-I18N:partial -> done), porting upstream whole-app UI localization (pingdotgg/t3code#37893,pingdotgg/t3code#38649,pingdotgg/t3code#39224,pingdotgg/t3code#39225,pingdotgg/t3code#37954) to the native GPUI client.Summary
crates/core/src/i18n/mod.rs,crates/app/src/i18n.rs):apps/web/src/i18n/translations/*.jsonandapps/desktop/src/i18n/translations/*.jsonfor all 10 supported locales (en,de,es,fr,ja,ko,pt-BR,ru,sv,zh), plusCatalogEntry::RichAST flattening fallback so rich catalog keys also translate.format_icu,translate_fmt,translate_menu_fmt,t_fmt) supporting{var}interpolation,{count, plural, ...}with CLDR cardinal plural categories for all 10 locales,#replacement,{kind, select, ...}, and ICU quoting rules (falling back to English plural rules for untranslated strings).active_locale_selection/active_formatting_localeand locale-aware integer grouping (format_integer, used in image dimension display infiles/image.rs), preserving OS regional timestamp semantics intimestamp.rs.crates/app/src/menus.rs,crates/app/src/settings/store.rs,crates/app/src/context_menu.rs,pingdotgg/t3code#39224):File,Edit,View,Window, app menu) using exact desktop/web catalog keys and rebuilt menus reactively viamenus::install(cx)on settings load and live language switches without requiring a restart.context_menu.rs,right_panel/tabs.rs,terminal/pane.rs,files/explorer_rows.rs,chat_header.rs).pingdotgg/t3code#37893,pingdotgg/t3code#38649,pingdotgg/t3code#39225):Pinned,Active,Working,Snoozed,Settled), scratchNo projectfolder/filter/breadcrumb (pingdotgg/t3code#38649), status badges, drafts, snooze dialog, update dialog.Unavailablepingdotgg/t3code#39225), citations & quoted-response notices (pingdotgg/t3code#39225), home hero, chat header, new thread, transcript actions/timers/work log, thread details, lineage dialog, side chat.Button,Select,Row,InlineButton,DialogFrame,section,unavailable_group,folded_section), command palette placeholders/headings/items, confirm dialog, quit-hold overlay, GitHub star prompt, connect screen, theme editor, usage header/overview/limits/dialog.pingdotgg/t3code#37954):crates/core/src/i18n/mod.rscovering desktop catalog parity,translate_fmtinterpolation/pluralization acrossen/de/fr/pt-BR/ru/ja/sv,#substitution,select, ICU quoting,CatalogEntry::Richlookup,format_integer, and core UI key coverage across all 9 non-English locales.menus::tests::reactive_language_switch_updates_i18n_and_rebuilds_menusverifying reactiveen -> de -> sv -> jalanguage switches updateactive_locale,active_formatting_locale,i18n::t, and installed menus cleanly.AP-I18Ninapps/native/parity/LEDGER.mdfrompartial | #441todone.Verification
CARGO_INCREMENTAL=0 cargo clippy --manifest-path apps/native/Cargo.toml --workspace --all-targets -- -D warnings: pass (0 warnings)CARGO_INCREMENTAL=0 cargo test --manifest-path apps/native/Cargo.toml -p t3-core -p t3-client -- --test-threads=1:t3-core1855 unit + 8 conformance passed;t3-client163 passed (0 failed)T3_NATIVE_HOME=$(mktemp -d) CARGO_INCREMENTAL=0 cargo test --manifest-path apps/native/Cargo.toml -p t3-native -- --test-threads=1: 208 passed (0 failed)CARGO_INCREMENTAL=0 cargo build --manifest-path apps/native/Cargo.toml -p t3-native: passvp fmt --check apps/native/parity/LEDGER.md: passnode apps/native/scripts/gen-theme.ts --check: passnode apps/native/conformance/generate.ts --check: passnode --test apps/native/parity/sync.test.ts: 47 passed (0 failed)Closes #441