Skip to content

Add Turkish Translation (tr.php)#1321

Merged
endelwar merged 11 commits intomailwatch:1.2from
alperperi:1.2
Mar 18, 2026
Merged

Add Turkish Translation (tr.php)#1321
endelwar merged 11 commits intomailwatch:1.2from
alperperi:1.2

Conversation

@alperperi
Copy link
Copy Markdown
Contributor

Hello team, I have created the Turkish language file for MailWatch. Best regards.

*Added Turkish language support. Translated by Alper Peri.

Added Turkish language support. Translated by Alper Peri.
@endelwar
Copy link
Copy Markdown
Member

Thanks for working on this translation.

I do not know Turkish myself, so this is only an AI-assisted review based on a comparison with mailscanner/languages/en.php, and the comments below should definitely be taken with some caution. That said, I did not notice syntax issues, missing keys, broken placeholders, or major mistranslations that would introduce clearly wrong meaning.

A few items still look worth adjusting before merge:

  • messages05: English is Messages, but Turkish is Mesaj. This should probably be Mesajlar.
  • spamwl04, spambl04, mcpwl04, mcpbl04: current wording is understandable, but reads more like list names than status labels. It may be worth aligning them more closely with the “Allowlisted / Blocklisted” meaning of the English source.
  • title59: Karantina Serbest Bırakma is understandable, but feels a bit literal. Something like Karantinadan Serbest Bırakma or Karantinadan Çıkarma may sound more natural.
  • unknownvirusscanner03: the English source includes (see FAQ), which seems to be omitted in Turkish.
  • message115: the English source mentions that GeoIP files are updated on the first Tuesday of each month; that detail seems to be missing in Turkish.

Also, beyond tr.php, it looks like Turkish should probably be added in the other translation files in the // 99 - General section near the end of those files, so the language list stays consistent. And mailscanner/conf.php.example should likely be updated as well, since it currently lists supported languages as de, en, es-419, fr, it, ja, nl, pt_br and the USER_SELECTABLE_LANG example does not include tr.

So overall: this looks solid and useful, but I would suggest fixing messages05, considering the wording tweaks above, and updating the remaining language lists/config examples so Turkish is wired in consistently.

@endelwar endelwar self-assigned this Mar 18, 2026
Fix strings, add 'tr' to other languages and conf.example
Added Turkish Language
Added Turkish Language
Added Turkish Language
@endelwar endelwar merged commit 4370fa4 into mailwatch:1.2 Mar 18, 2026
3 of 6 checks passed
@endelwar
Copy link
Copy Markdown
Member

Thank you @alperperi !

@alperperi
Copy link
Copy Markdown
Contributor Author

Your welcome @endelwar, I hope it will be of some benefit to the community.

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