Check L10n Skill
Purpose
Catch the two ways localization breaks in this repo before users see English
in a non-English build:
- Untranslated keys. A key added to
app_en.arbbut never translated
into one of the 21 non-English locales (am, ar, bg, de, es,
fil, fr, id, it, ja, ko, ms, nl, pl, pt, ro, sv,
tr, ur, vi, zh). mobile/lib/l10n/app_*.arb is the live list.
- Hardcoded user-visible English. Strings rendered straight to the user
from widget code without going through context.l10n.<key>. These never
show up in .arb files because they were never extracted, so no amount
of translation work fixes them.
Run this before every PR push that touches mobile/lib/.
This skill checks that a string is translated. Whether it is translated in
the locale's voice is a separate question with its own source of truth: