Repository navigation
agent: localization design and plan (Fluent) - #1370
w3irdrobot wants to merge 1 commit into
Conversation
Proposes the Fluent stack for Agent localization, with the rationale for choosing it over rust-i18n and gettext at a ~20-language scope, the catalog/lookup-layer architecture, the incremental extraction plan, and the guardrails against catalog drift.
|
Friendly second-opinion pass. This isn't a blocker or a final call, just what I found when I checked the plan against current What fits well
Things the plan may be underestimating
Smaller notes
Rough sizing (my read)
Overall it's medium to start and large to finish. One defensible phase 1: UI text through the catalog, language changes applied on restart, left-to-right locales only, and errors and persisted text as explicitly tracked follow-ups. Happy to talk through any of this. |
|
Closing this superseded docs-only PR: the design and second-opinion review have moved to internal docs. |
Summary
Design and plan for localizing the Maple Agent GPUI app. Docs only; no code changes yet.
app/src/ui/.fluent+fluent-templates) overrust-i18nand gettext, with the rationale: at a ~20-language scope, Fluent's CLDR plural/grammar handling and translator workflow are decisive, and retrofitting plural handling later would mean reworking every pluralized message.app.ftlcatalogs withenas fallback, a thinapp/src/ui/i18n.rslookup layer (tr/tr_args) so widgets never touchFluentBundle, OS-locale default with a Settings override.Validation
Docs-only change; no runtime behavior affected.
just lane repois the applicable lane for documentation changes and can be run before un-drafting.Need help on this PR? Tag
@codesmith-botwith what you need.