feat(l10n): add Azerbaijani (az) locale - #100
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds an Azerbaijani (az) translation.
New file
lib/l10n/app_az.arb: 425 of the 474 keys inapp_en.arb, key order identical to the template,languageNameset toAzərbaycan diliasdocs/CONTRIBUTING_TRANSLATIONS.mdasks.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.dartcomputes, which then reportshiandknas 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.arbin every translated value,including the four ICU plural messages, where only the branch text is translated.New file
lib/l10n/generated/app_localizations_az.dartand four az entries inlib/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: addedLanguageOption('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.