feat(i18n): add Turkish (tr) interface locale - #835
Merged
Conversation
Greptile SummaryAdds Turkish as a shipped interface locale.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| .config/crowdin.yml | Adds the Turkish locale to Crowdin export and filename mapping. |
| crates/openlogi-ui/locales/tr.yml | Adds the Turkish translation catalog with the expected source keys. |
| crates/openlogi-ui/src/locale.rs | Registers Turkish, verifies catalog parity, and tests Turkish locale negotiation. |
Reviews (2): Last reviewed commit: "feat(i18n): add Turkish (tr) interface l..." | Re-trigger Greptile
AprilNEA
previously approved these changes
Aug 23, 2026
Ships `locales/tr.yml` with every key `en.yml` defines, registers `tr`
("Türkçe") in `SUPPORTED` between Svenska and Ελληνικά — native-name
alphabetical within the Latin block — and adds it to the parity test's
`include_str!` table so the catalog is actually checked rather than
silently drifting.
`crowdin.yml` gains the language and its `tr -> tr` mapping so Crowdin
round-trips the new catalog like every other one.
4ni1ak
force-pushed
the
feat/turkish-locale
branch
from
August 24, 2026 19:15
26fb3fe to
62518b3
Compare
Owner
|
Thanks. |
AprilNEA
approved these changes
Aug 25, 2026
This was referenced Aug 25, 2026
Closed
Closed
Closed
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 as a shipped interface locale.
Split out of #802 at your request — that PR is closed and its five parts are now
independent.
Changes
openlogi-uilocales/tr.ymlcarrying every keyen.ymldefines.tr("Türkçe") registered inSUPPORTED, between Svenska and Ελληνικά —native-name alphabetical within the Latin block, matching the picker order the
constant documents.
locale_files_have_the_same_keys'sinclude_str!table. That list ishand-written and asserts its own coverage against
SUPPORTED, so a locale leftout of it fails the build rather than silently going unchecked.
maps_locale_variantsgainstrandtr-TR.crowdin.ymltradded toexport_languagesand mappedtr -> tr, so the cataloground-trips like every other one.
Values are a best-effort human translation, not machine fill-in; Crowdin can
refine them from here.
Testing
Linux, x86_64, Rust 1.98.0:
All green.
Not run on this host:
tests (macos),cargo-deny, and macOS clippy (nomacOS SDK here). No hardware verification applies — this adds no device code.
Note on ordering: if the Linux package-manager update PR lands first, it adds
one string to every catalog that exists at that point, so this branch needs a
rebase to pick it up in
tr.ymlbefore the parity test passes. Happy to rebasewhenever it suits you — same in the other direction.