feat(i18n): add Turkish (Türkçe) as a third UI language#44
Merged
Conversation
Adds full Turkish translation (1253/1253 strings) keyed by English source
strings, preserving English-first: English remains the source and fallback,
Turkish overrides only where translated.
- lang/tr.json — complete UI translation (1253 keys, 100% coverage)
- lang/tr/{auth,pagination,passwords,validation}.php — framework messages
- Register 'tr' => 'Türkçe' in AppServiceProvider::availableLocales()
- Allow 'tr' in the language setting validation
- Language selector auto-discovers the new locale (no hardcoding)
83 strings reuse human-verified translations from the original community
contribution; the remaining ~1170 are machine translations and would benefit
from a native-speaker review pass.
Merged
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.
Summary
Adds Turkish (Türkçe) as a third UI language alongside English and Polish, keeping the English-first model intact: English stays the source/fallback, Turkish only overrides where translated.
Inspired by the Turkish localization from the (closed) community PR #2 — but rebuilt against the current codebase, since that PR's translations were based on a March snapshot and only covered ~6% of today's strings.
What changed
lang/tr.json— complete UI translation, 1253/1253 strings (100% coverage)lang/tr/{auth,pagination,passwords,validation}.php— framework message translations'tr' => 'Türkçe'inAppServiceProvider::availableLocales()trin thelanguagesetting validationTranslation provenance (please review)
Testing
app()->setLocale('tr')resolves translations correctly (verified on local test instance)en.jsonuntouched, untranslated keys fall back to EnglishHow to test
Settings → System → Language → Türkçe → Save.