Skip to content

I finally managed to translate all of it into Turkish - #379

Open
AZADAYAZ wants to merge 8 commits into
LeanBitLab:mainfrom
AZADAYAZ:patch-5
Open

I finally managed to translate all of it into Turkish#379
AZADAYAZ wants to merge 8 commits into
LeanBitLab:mainfrom
AZADAYAZ:patch-5

Conversation

@AZADAYAZ

Copy link
Copy Markdown
Contributor

I'd appreciate it if you could check and merge them 🥰

Co-authored-by: LeanBitLab <245915690+LeanBitLab@users.noreply.github.com>
@LeanBitLab

Copy link
Copy Markdown
Owner

I'd appreciate it if you could check and merge them 🥰

You dont need to translate dev comments such as this XML comments

Copyright (C) 2008 The Android Open Source Project
modified
Telif hakkı (C) 2008 The Android Open Source Project
değiştirilmiştir

you only need to translate the text inside tags, comments can stay in English , its harmless just saying usually thats the way

@AZADAYAZ

Copy link
Copy Markdown
Contributor Author

To learn about features added in the future.
To save myself the trouble of translating the comment into Turkish

Co-authored-by: LeanBitLab <245915690+LeanBitLab@users.noreply.github.com>
@AZADAYAZ

Copy link
Copy Markdown
Contributor Author

I have translated the comments into English.

@LeanBitLab

Copy link
Copy Markdown
Owner

will merge in next release , again forgot about this too :)

@LeanBitLab

Copy link
Copy Markdown
Owner

found a total of 16 build-breaking strings in PR #379:

Line # Resource Key Unescaped String in PR #379 Required Fix
28 inline_emoji_search_summary Bir kelimenin önünde ':' varsa... ... önünde ':' varsa ...
141 prefs_always_show_suggestions_except_web_text_summary 'Her zaman önerileri göster' ayarıyla... 'Her zaman ...' ayarıyla...
215 auto_read_otp SMS'ten OTP'yi... SMS'ten OTP'yi...
217 auto_read_otp_summary SMS'teki kodu... SMS'teki kodu...
329 load_handwriting_plugin_message eklentisi APK'sı sağlayın... ... APK'sı sağlayın...
330 load_handwriting_plugin_button_load Eklenti APK'sını yükle Eklenti APK'sını yükle
333 load_handwriting_plugin_failed eklentisi APK'sı yüklenemedi ... APK'sı yüklenemedi
355 shift_removes_autospace Shift'e basıldığında... Shift'e basıldığında...
375 url_detection_summary URL'leri ve... URL'leri ve...
525 huggingface_endpoint_summary API uç nokta URL'si API uç nokta URL'si
910 setup_step1_action Ayarlar'da etkinleştir Ayarlar'da etkinleştir
1094 about_github_link GitHub'da Görüntüle GitHub'da Görüntüle
1106 about_features_link FEATURES.md'ye git FEATURES.md'ye git
1311 offline_model_summary Yerel LLM'yi yönet Yerel LLM'yi yönet
1323 offline_min_p_summary En olası token'a göreli... ... token'a göreli...
1325 offline_show_thinking_summary düşünme token'larını göster ... token'larını göster

@AZADAYAZ

AZADAYAZ commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

I noticed these and fixed them in the other pull request

@AZADAYAZ

AZADAYAZ commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

#391

@LeanBitLab

Copy link
Copy Markdown
Owner

I noticed these and fixed them in the other pull request

its better to do smaller merges

The XML structure is valid and the build passes. However, the automated tool used for this update introduced a few UI bugs, namespace issues, and translation regressions that need to be cleaned up before merging:

  • Double-escaped HTML characters: In hidden_features_message, the arrow characters are double-escaped as &#65515; and &#8596;. This will render as literal text on the screen (→) instead of arrow symbols (→). Please un-escape them so the arrows display correctly.
  • Namespace prefix: In strings-talkback-descriptions.xml, please revert the ns0 namespace prefix back to standard xliff. Android Lint and translation editors require xliff:g placeholder tags.
  • English fallbacks: Several existing, correct Turkish translations were overwritten with English fallbacks. Please restore translations for keys such as label_pause_key (Pause ➔ Dur), label_wait_key (Wait ➔ Bekle), label_bin (Bin ➔ Çöp kutusu), label_stop_onehanded_mode_key, etc.
  • AI Generator artifact: There is an AI scratchpad comment left above offline_max_tokens_entries (). Please remove internal generator notes from the XML file."

@AZADAYAZ

AZADAYAZ commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

I hope there are no issues this time 😅

@LeanBitLab

Copy link
Copy Markdown
Owner

I hope there are no issues this time 😅

well :) . i think its easier for me to translate this myself, let me do it, i kind of know an easier way, you can confirm the changes and create new correction prs, that would be easier for you too

Remaining Technical Blockers

The latest commit (5e4eb7f) resolves the namespace issues in strings-talkback-descriptions.xml and restores several overwritten Turkish translations. However, the automated translation tool introduced new syntax errors and UI regressions that will break the build or corrupt the UI.


1. Build Failure: Unescaped Single Quotes (Apostrophes)

Android Lint will fail the build if a <string> contains an unescaped single quote (') and is not wrapped in double quotes ("..."). Your latest commit still contains multiple unescaped apostrophes in hidden_features_message and other keys.

Examples of failures in your current code:

  • Dil Değiştirme'ye ❌ (Must be Dil Değiştirme\'ye)
  • Android 7'den ❌ (Must be Android 7\'den)
  • Hata ayıklama APK'sı ❌ (Must be Hata ayıklama APK\'sı)
  • Yayın APK'sında ❌ (Must be Yayın APK\'sında)

Fix: Search your file for ' and ensure every instance inside a <string> tag is escaped as \', or wrap the entire string value in "...".


2. UI Regression: Double-Escaped HTML in hidden_features_message

Your translation tool double-escaped the HTML tags. You currently have &lt;br&gt; and &lt;i&gt;. In Android, this will render as the literal text <br> and <i> on the screen instead of creating line breaks and italic text.

Current (Broken):

<string name="hidden_features_message">► Sabitlenmiş araç çubuğu... &lt;br&gt;
nt• pano → yapıştır &lt;br&gt;

Fix: Unescape the HTML tags so Android can parse them correctly, or wrap the entire string in <![CDATA[ ... ]]>.

<string name="hidden_features_message"><![CDATA[► Sabitlenmiş araç çubuğu... <br>
\t• pano → yapıştır <br>]]></string>

3. Translation Regression: English Fallbacks in offline_max_tokens_entries

The <string-array name="offline_max_tokens_entries"> was overwritten with English fallbacks. These must be translated to Turkish.

Current (Broken):

<string-array name="offline_max_tokens_entries">
    <item>Ultra Fast (12 tokens)</item>
    <item>Fast (20 tokens)</item>
    <item>Balanced (32 tokens)</item>
    <item>Accurate (64 tokens)</item>
    <item>Deep (128 tokens)</item>
</string-array>

Fix: Translate the items:

<string-array name="offline_max_tokens_entries">
    <item>Ultra Hızlı (12 token)</item>
    <item>Hızlı (20 token)</item>
    <item>Dengeli (32 token)</item>
    <item>Hassas (64 token)</item>
    <item>Derin (128 token)</item>
</string-array>

4. AI Generator Artifacts

noted an AI scratchpad comment left above offline_max_tokens_entries. While the immediate comment may have been removed, please do a final Ctrl+F search through your XML files for terms like AI, scratchpad, generator, note:, or todo: to ensure no internal tool notes were accidentally committed into the production strings file.

@LeanBitLab

Copy link
Copy Markdown
Owner

ill share you an translated beta build later on telegram

…ove todo comments

- Wrap hidden_features_message and no_dictionary_message in CDATA to fix double-escaped HTML tags (&lt;br&gt; -> <br>, &lt;i&gt; -> <i>, etc.)
- Translate offline_max_tokens_entries from English to Turkish (Ultra Fast -> Ultra Hizli, etc.)
- Remove stale todo comments from string entries
@LeanBitLab

Copy link
Copy Markdown
Owner

no need to merge i already translated other languages too (tried to) in a single commit locally

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