Skip to content

Add Italian locale - #185

Open
LSalami wants to merge 1 commit into
dzianisv:mainfrom
LSalami:feat/italian-locale
Open

Add Italian locale#185
LSalami wants to merge 1 commit into
dzianisv:mainfrom
LSalami:feat/italian-locale

Conversation

@LSalami

@LSalami LSalami commented Aug 15, 2026

Copy link
Copy Markdown

Summary

  • Adds it.json alongside the existing en/zh-Hans catalogs, translating every key.
  • Registers it in i18next resources (config.ts).
  • Extends SUPPORTED_LOCALES and matchSupportedLocale (locale-resolve.ts) to recognize it-* device tags.
  • Wires Italian into the language picker in Settings (app/(tabs)/settings.tsx).
  • Generalizes catalog-parity.test.ts to check all catalogs pairwise instead of hardcoding en vs zh-Hans, so future locale additions are covered automatically.
  • Adds matching unit test cases in locale-resolve.test.ts.

Test plan

  • npm test — all 334 tests pass (catalog parity, locale resolution, and the rest of the suite)
  • npm run typecheck — no errors
  • Manual check on device/simulator: Settings → Language → Italian applies the catalog and persists across restarts

Adds it.json alongside the existing en/zh-Hans catalogs, registers it
in i18next resources, extends locale resolution (matchSupportedLocale,
SUPPORTED_LOCALES) to recognize it-* device tags, wires it into the
language picker in Settings, and generalizes the catalog-parity test
to check all catalogs pairwise instead of just en vs zh-Hans.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant