Skip to content

feat(l10n): add Azerbaijani (az) locale - #100

Merged
akashdh11 merged 2 commits into
akashdh11:masterfrom
jamalkamaladdin:feat/az-locale
Sep 11, 2026
Merged

feat(l10n): add Azerbaijani (az) locale#100
akashdh11 merged 2 commits into
akashdh11:masterfrom
jamalkamaladdin:feat/az-locale

Conversation

@jamalkamaladdin

Copy link
Copy Markdown
Contributor

This PR adds an Azerbaijani (az) translation.

New file lib/l10n/app_az.arb: 425 of the 474 keys in app_en.arb, key order identical to the template, languageName set to Azərbaycan dili as docs/CONTRIBUTING_TRANSLATIONS.md asks.
The 49 keys left out are exactly the shared backlog every existing locale is missing. Filling them would empty the shared set that test/l10n/translation_ratchet_test.dart computes, which then reports hi and kn as lagging on those same 49 keys. Leaving them keeps the ratchet and the Translation Coverage step at the numbers they had before this PR.

Placeholder metadata is copied from the template for the 35 translated messages that take placeholders. Placeholder names and counts match app_en.arb in every translated value,including the four ICU plural messages, where only the branch text is translated.

New file lib/l10n/generated/app_localizations_az.dart and four az entries in lib/l10n/generated/app_localizations.dart (import, supportedLocales, isSupported, lookupAppLocalizations), so the committed generated output stays in step with the ARBs.

lib/features/explore/data/explore_language_provider.dart: added LanguageOption('az-AZ', 'Azerbaijani', 'Azərbaycan dili'), the one entry that list carries per supported UI locale.

Brand and product names are kept verbatim: SkyStream, Discord, Telegram, TMDB, OpenSubtitles, SubDL, SubSource, Cloudflare, Google, AdGuard, DNS.Watch, Quad9, DNS.SB, Canadian Shield.

@akashdh11
akashdh11 merged commit 66b7761 into akashdh11:master Sep 11, 2026
1 of 2 checks passed
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.

2 participants