Skip to content

i18n: add Turkish (tr) translation - #51

Merged
SysAdminDoc merged 3 commits into
SysAdminDoc:masterfrom
yucOx:i18n/tr
Nov 30, 2026
Merged

SysAdminDoc merged 3 commits into
SysAdminDoc:masterfrom
yucOx:i18n/tr

Conversation

@yucOx

@yucOx yucOx commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Turkish (tr) localization, as claimed on issue #7 (@yucOx, Nov 17). Went past the partial plan — it is complete.

What's included

  • app/src/main/res/values-tr/strings.xml — 1872/1872 translatable strings (100.0%), all 63 plural groups (Turkish uses one/other per CLDR; both quantities present)
  • res/xml/locales_config.xml — <locale android:name="tr" /> (BCP-47 form)
  • ui/AppLanguage.kt — TURKISH_TAG, picker entry, and a tr- prefix case in normalizeLanguageTag (mirrors the es pattern)
  • values/strings.xml — settings_language_turkish as translatable="false" ("Türkçe"), so the two lists ShippedLocalesTest compares stay in sync

Verification

python scripts/check_translations.py --locale tr
[ok] values-tr: 1872/1872 strings (100.0%)

Zero format-specifier errors, no missing plural quantities, no stale keys. The coverage floor was left untouched per TRANSLATING.md (new locales warn until one is recorded); happy to run --update-floors as a follow-up if you'd rather record 100% right away.

Notes

  • Keeping the diff minimal, I did not touch scripts/ — but a one-line suggestion for later: adding "tr": {"one", "other"} to REQUIRED_PLURAL_QUANTITIES would make future Turkish plural drift fail the check instead of passing silently (the default {"other"} tolerates the extra one category today).
  • Register is formal siz (Android system Turkish convention); CallShield stays untranslated; STIR/SHAKEN copy preserves the authenticated-vs-safe distinction ("doğrulandı", never "güvenli"); Trusted is consistently Güvenilir per the style notes.
  • No build outputs, APKs, or version bumps.

🤖 Generated with Claude Code

yucOx and others added 3 commits November 18, 2026 01:21
Complete values-tr localization covering 1872/1872 translatable strings
and all 63 plural groups (one/other), verified with
scripts/check_translations.py (100% coverage, zero format-specifier
errors). Registers the locale in locales_config.xml and the in-app
picker (AppLanguage.kt) with its native name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The language test listed the shipped locales without tr, Turkish had no
plural rule or coverage floor in check_translations.py, and the README
still named four languages and 1878 strings.

Refs SysAdminDoc#7
@SysAdminDoc
SysAdminDoc merged commit 102cd0c into SysAdminDoc:master Nov 30, 2026
@yucOx
yucOx deleted the i18n/tr branch November 30, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants