Skip to content

Add Turkish localization + localize remaining Settings strings - #34

Merged
meddouribadis merged 3 commits into
meddouribadis:developfrom
dogukannparlak:feature/turkish-localization
Sep 13, 2026
Merged

meddouribadis merged 3 commits into
meddouribadis:developfrom
dogukannparlak:feature/turkish-localization

Conversation

@dogukannparlak

Copy link
Copy Markdown

Summary

Adds Turkish (tr) localization and fills in the previously hardcoded English strings on the Settings screens.

1. Turkish locale

  • New lib/l10n/app_tr.arb with a full translation of every existing key.
  • tr registered in the generated AppLocalizations (supportedLocales, isSupported, lookupAppLocalizations).
  • supportedLocales is already auto-derived, so no wiring changes in flauncher_app.dart.

2. Localize remaining hardcoded Settings strings

Several Settings labels were hardcoded English literals (Text('Interface'), Text('System'), …) and stayed English in every locale, including es. Extracted into ARB keys and routed through AppLocalizations:

interface, system, accentColor, miscellaneous, brightnessScheduler, screensaverSettings, screensaverClockStyle, wifiUsagePeriod, showAppNamesBelowIcons, wifiUsage, networkIndicator, customName, lastUsed, daily, weekly, monthly, grantPermission, checkStatus

18 new keys added to en, es and tr.

Touched widgets: settings_panel_page, interface_settings_page, general_settings_page, misc_panel_page, status_bar_panel_page, launcher_section_panel_page, accent_color_page, gradient_panel_page, screensaver_clock_style_page, wifi_usage_period_page, brightness_settings_page.

Testing

  • flutter gen-l10n regenerates cleanly (no missing-translation warnings).
  • flutter analyze on the changed files: no new issues (only pre-existing withOpacity/WillPopScope deprecation infos).
  • Debug APK sideloaded on an Android TV box with device locale tr-TR: Settings, submenu titles and the status-bar date render in Turkish.

Notes

  • Turkish strings are a first pass; a native review of tone on longer strings (textAboutDialog, watchNextPermissionBody) is welcome.
  • Out of scope: strings outside the Settings screens (e.g. the WiFi-usage widget's Daily:/Weekly: prefix, app-info banner dialogs) remain hardcoded and can follow in a separate PR.

🤖 Generated with Claude Code

dogukannparlak and others added 3 commits August 31, 2026 22:53
Add app_tr.arb with full Turkish translations and register the tr
locale. Generated app_localizations_tr.dart hand-authored to match
flutter gen-l10n output; re-run gen-l10n on a machine with the SDK to
confirm byte-parity.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BCb6CHJ3kKHYqxhWMxc8iu
Extract the hardcoded English labels in the Settings screens (Interface,
System, Accent Color, Miscellaneous, Gradient, Brightness Scheduler,
Screensaver Settings/Clock Style, WiFi Usage Period, WiFi Usage, Network
Indicator, Custom Name, Last Used, Daily/Weekly/Monthly, Grant
Permission, Check Status, Show App Names Below Icons) into ARB keys and
wire them through AppLocalizations. Adds the 18 new keys to en, es and tr.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BCb6CHJ3kKHYqxhWMxc8iu
Turkish localization support.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@meddouribadis
meddouribadis changed the base branch from main to develop September 13, 2026 11:54
@meddouribadis meddouribadis self-assigned this Sep 13, 2026
@meddouribadis meddouribadis added the enhancement New feature or request label Sep 13, 2026
@meddouribadis
meddouribadis merged commit 70836f3 into meddouribadis:develop Sep 13, 2026
@meddouribadis

meddouribadis commented Sep 13, 2026 •

Copy link
Copy Markdown
Owner

Hey @dogukannparlak, thank you for the Turkish localization contribution!

I've merged this PR into develop that will be later merged into main for 1.0.8. All Content URI functionality remains intact and the localization works correctly.
The merge went smoothly and Turkish language support is now part of the codebase. Appreciate your work on this!

@meddouribadis meddouribadis mentioned this pull request Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants