Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On reply, truncate subject prefix in foreign languages #4981

Closed
rcubetrac opened this issue Aug 8, 2008 · 7 comments
Closed

On reply, truncate subject prefix in foreign languages #4981

rcubetrac opened this issue Aug 8, 2008 · 7 comments

Comments

@rcubetrac
Copy link

Reported by abaum on 8 Aug 2008 08:18 UTC as Trac ticket #1485258

There are a lot of misconfigured mail clients (e.g. MS Outlook) out there who use wrong, non-english subject prefixes (e.g. the german edition of Outlook uses "AW:" instead of "Re:"). Now, if you reply on such a mail, the subject will become "Re: AW: Subject" instead of "Re: Subject". Other mail clients can detect this.
We could make an additional entry in the translation files and truncate the wrong prefix.

Keywords: subject prefix translation
Migrated-From: http://trac.roundcube.net/ticket/1485258

@rcubetrac
Copy link
Author

Comment by @thomascube on 8 Aug 2008 15:54 UTC

What mail clients do detect this? However this shouldn't be very hard to fix.

@rcubetrac
Copy link
Author

Comment by abaum on 9 Aug 2008 17:42 UTC

Replying to thomasb:
Mozilla Thunderbird. But not as standard behaviour (as I thought), but only if activated in user.js:

user_pref("mailnews.localizedRe", "AW,Antwort");

The localized entries are comma separated.

@rcubetrac
Copy link
Author

Comment by @alecpl on 29 Oct 2008 18:24 UTC

Patch for German attached in #1485530 (marked as duplicate)

@rcubetrac
Copy link
Author

Comment by @alecpl on 29 May 2014 07:40 UTC

If we add this to localization files, that would mean we can only remove prefixes for current user language (and English). I'm not sure it's what we want to do, because user can receive messages with prefixes in other languages.

So, a better solution is to have a list of most common (I'm not sure we can/should have all) prefixes. That list might be configurable or enabling of that feature might be configurable. There most likely be two lists one for Re: and one for Fwd:.

@rcubetrac
Copy link
Author

Comment by abaum on 30 May 2014 14:14 UTC

I agree that it's not a good idea adding this to the localization files (although it was my idea ;). Why not simple use the patch from #1485530, adding also abbreviations from other languages?

@frontierpsycho
Copy link

I encountered this bug, it's quite annoying. Are there any plans to work on it?

If not, if I find time I'll look into it.

@alecpl
Copy link
Member

alecpl commented Apr 25, 2021

Configuration options implemented.

A future scope might be to make these options available to the end-user via Preferences > Composing messages > Advanced options. Pull requests would be appreciated. @tpayen maybe, you?

@alecpl alecpl closed this as completed Apr 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants