You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue asks for a design, not an implementation.
Problem
Rake has no translation or locale layer. Apps can't switch language, format dates or numbers for the user's locale, or lay out right-to-left text. GPUI Kit's components already contain some locale handling. If Rake adds its own layer separately, text inside Kit components won't follow the app's language.
Questions to answer
What does Kit do today for locale and translated strings, and can Rake use the same source of truth?
Which message format to use: Fluent, ICU MessageFormat, or plain keys with arguments?
How the current locale is detected on each platform and in the browser, and how a change reaches views. This could work like rake::theme::install.
Whether view! should support translated strings without making ordinary text harder to write.
Date, number and plural formatting, and how much it adds to Web build size.
Right-to-left layout: what GPUI supports today and what's missing.
How agents and the CLI see translated labels, given that inspection and CDP queries match on accessible names.
Done when
A design doc is merged that answers these questions, with a small prototype in one example and the follow-up implementation issues filed.
Depends on
Adopting GPUI Kit, so the design matches Kit's locale handling.
Design merged in #96 (docs/future/internationalisation.md), including the review decisions. Follow-ups: #100 locale core, #101 Fluent and t!, #102 ICU formatting, #103 logical start/end classes, #104 inspection keys, #105 Kit adapter, #106 RTL. The prototype is next; this issue stays open until its done-when is met.
Prototype merged in #107 (docs/future/internationalisation-prototype.md, examples/view with the i18n/i18n-icu features). Results: +189 KB gzip / +137 KB Brotli on Web, within the provisional budget. Production work continues in #100–#106.
Activity
1bye commentedon Nov 21, 2026
Design merged in #96 (docs/future/internationalisation.md), including the review decisions. Follow-ups: #100 locale core, #101 Fluent and t!, #102 ICU formatting, #103 logical start/end classes, #104 inspection keys, #105 Kit adapter, #106 RTL. The prototype is next; this issue stays open until its done-when is met.
docs: design internationalisation and locale
1bye commentedon Nov 23, 2026
Prototype merged in #107 (docs/future/internationalisation-prototype.md, examples/view with the
i18n/i18n-icufeatures). Results: +189 KB gzip / +137 KB Brotli on Web, within the provisional budget. Production work continues in #100–#106.feat: prototype Rake internationalisation