HollaHoop

i18n: pre-paint UI locale script + admin language switcher polish

FeatureShipped· by Elsama· 1 month ago

UX audit finding

Admin language switcher (LanguageSwitcher) persists locale but UI strings remain English. document.documentElement.lang should be set before first paint to avoid flash and assistive tech mismatch.

Fix: Add pre-hydration script in root layout (mirror theme/sidebar pattern) + wire applyUiLocale on switch.

Comments (0)

No comments yet.

Join the discussion

Sign in to leave a comment on this thread.

HollahoopGet yours