Skip to content

Add Turkish translation (app + README) - #159

Merged
huami-dev merged 1 commit into
huami1314:mainfrom
buraakkcayir:add-turkish-translation
Nov 17, 2026
Merged

huami-dev merged 1 commit into
huami1314:mainfrom
buraakkcayir:add-turkish-translation

Conversation

@buraakkcayir

@buraakkcayir buraakkcayir commented Nov 14, 2026 •

Copy link
Copy Markdown

Adds Turkish (tr) as a supported language, following the existing localization pipeline.

App

  • localization/tr.json: all 520 strings translated to Turkish
  • GestaltX/Localizable.xcstrings regenerated via scripts/generate_localization.py (now 11 locales)
  • GestaltX/InfoPlist.xcstrings: Turkish NSPhotoLibraryAddUsageDescription
  • tests/LocalizationTests.py: tr registered in ALL_LOCALE_SCRIPTS (Latin script)
  • project.pbxproj: tr added to knownRegions

README

  • README_TR.md: full Turkish translation of the README
  • README.md: link to README_TR.md and Turkish row in the language table

English source clarification (affects all locales)
The WAPI description was ambiguous in English: "Disabling may show Wi-Fi and change some network options" → "Disabling may show a Wi-Fi entry instead of WLAN. Restart to apply." The key was renamed in generate_localization.py (with an updated zh-Hans value), ContentView.swift, and all localization/*.json files. Other locales keep their current translations under the renamed key — happy to refine those too if the maintainer prefers.

Terminology notes

  • Apple Turkish localizations followed where they exist: Kamera Denetimi, Eylem Düğmesi, Uzamsal Ses, Her Zaman Açık Ekran (Always-On), Şarj Sınırı
  • Names Apple does not localize are kept as-is: Apple Intelligence, Audio Intelligence, respring, MobileGestalt/CacheData keys

python3 -m unittest tests.LocalizationTests passes (placeholder parity, key coverage and script checks).

- localization/tr.json: all 520 strings translated to Turkish
- Regenerated GestaltX/Localizable.xcstrings (11 locales) via
  scripts/generate_localization.py
- GestaltX/InfoPlist.xcstrings: Turkish NSPhotoLibraryAddUsageDescription
- tests/LocalizationTests.py: register tr (Latin script) in
  ALL_LOCALE_SCRIPTS
- project.pbxproj: add tr to knownRegions
- README.md: link README_TR.md, add Turkish to the language table
- README_TR.md: full Turkish translation of the README

Also clarifies the WAPI English source string used by all locales
("Disabling may show a Wi-Fi entry instead of WLAN") with the
matching zh-Hans update; other locales keep their current values
for the renamed key.

Terminology follows Apple's Turkish localizations where they exist
(Kamera Denetimi, Eylem Düğmesi, Uzamsal Ses, Her Zaman Açık Ekran);
Apple-untranslated names (Apple Intelligence, Audio Intelligence,
Dynamic Island per project choice, respring, MobileGestalt keys)
are kept as-is.

python3 -m unittest tests.LocalizationTests passes.
@buraakkcayir
buraakkcayir force-pushed the add-turkish-translation branch from cfeef6f to 45f3170 Compare November 14, 2026 15:45
@huami-dev
huami-dev merged commit 311f789 into huami1314:main Nov 17, 2026
@buraakkcayir
buraakkcayir deleted the add-turkish-translation branch November 17, 2026 03:55
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