Guides ยท 11 frameworks and formats
Guides: translation checks in CI
One guide per framework and file format. Each shows the layout the gate detects, the config it writes, a GitHub Actions workflow, and defects it catches, with findings from running the gate when this site was built.
- Check Laravel lang files in GitHub ActionsCheck Laravel lang/{locale}/*.php and lang/{locale}.json files on every pull request: :placeholders, pipe plurals, HTML and missing keys. Workflow included.
- next-intl translation QA in CICheck next-intl messages/{locale}.json on every pull request: ICU syntax, plural categories per language, renamed {placeholders} and dropped rich-text tags.
- Check i18next JSON translations in CICheck i18next public/locales/{locale}/{namespace}.json in GitHub Actions: {{interpolation}}, _one/_few/_many plural keys, leftover and untranslated keys.
- Check vue-i18n messages in CIRun a QA check on vue-i18n locale JSON in GitHub Actions: pipe plural segments, {named} and {0} interpolation, missing keys. Config and workflow included.
- Check Rails i18n YAML in CICheck Rails config/locales/*.yml in GitHub Actions: %{interpolation}, one/few/many/other plural keys per language, _html strings and YAML that does not load.
- Check Flutter ARB files in GitHub ActionsCheck Flutter lib/l10n/app_*.arb files on every pull request: {placeholders}, ICU plurals and select, plural categories per language, @@locale and missing keys.
- Check Xcode String Catalogs in CICheck Localizable.xcstrings in GitHub Actions: %@ and %lld format specifiers, plural variations per language, needs_review states and strings left in English.
- Check Android strings.xml in CICheck res/values-*/strings.xml in GitHub Actions: unescaped apostrophes that break aapt2, %1$s arguments, plural quantities per language and missing strings.
- Check .NET RESX files in CICheck Strings.resx and Strings.fr.resx in GitHub Actions: {0} format items, duplicate resource names, missing resources and personal data in translations.
- Check gettext .po files in CICheck locale/{locale}/LC_MESSAGES/*.po in GitHub Actions: fuzzy entries msgfmt drops, %(name)s and {name} arguments, empty msgstr and files that do not parse.
- Check XLIFF files in CICheck XLIFF 1.2 and 2.x files, such as Angular's messages.{locale}.xlf, in GitHub Actions: dropped inline codes, maxwidth, review states and missing targets.