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
{{ message }}
Repository navigation
i18n: the whole message catalog ships with every root import (Button budget grows with every new component string) #325
Today: root: Button only bundles the full en + pt-BR catalogs. Every PR that adds strings (MotionStage, AppShell, Combobox, CommandPalette, InstallPrompt…) raised the Button budget: 27530 -> 28600 B over this cycle. Fix the structure: per-component message slices (useT('combobox') importing only its group) or lazy locale loading, so a component pays only for its own strings. Acceptance: Button-only bundle drops below 27.5 kB and stops moving when unrelated components add strings; a test that adding a key to an unrelated group doesn't change the Button bundle.
Activity
mvilacad commentedon Oct 17, 2026
Working on this in #333 (draft). Branch
feat/325-i18n-the-whole-message-catalog-ships. Regression test first, then the fix.feat(i18n): split the message catalog per group (#325)
chore: start #325
feat(i18n): split the message catalog per group (#325)
test(i18n): enforce the Button i18n leak guard in the size step (#325)
chore: start #325
feat(i18n): split the message catalog per group (#325)
test(i18n): enforce the Button i18n leak guard in the size step (#325)
feat: i18n per-component message groups (#325) (#333)