mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-01 04:42:10 +03:00
deepMergeFallback in src/i18n/request.ts only substituted the English fallback value when a key was entirely undefined. Keys backfilled by scripts/i18n/sync-ui-keys.mjs with the __MISSING__:<english> sentinel exist on the target object, so they passed through untouched and were rendered raw to the user (395 zh-TW keys, 337 pt-BR keys, systemic across locales). Now any target leaf that still carries the __MISSING__: prefix is treated the same as an absent key, so the clean EN value wins. Does not touch the underlying translation content (395/337 strings) - that is a separate content workstream.