Some IMAP folders are not translated
Categories
(MailNews Core :: Backend, defect)
Tracking
(Not tracked)
People
(Reporter: ale5000, Unassigned)
References
Details
(Keywords: intl, Whiteboard: [dupme])
Attachments
(1 file)
|
11.94 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0
Steps to reproduce:
Add IMAP accounts for aurba.it and tophost.it
Actual results:
Some IMAP folders are not translated in Italian.
They are selected correctly in the settings since the icons are correct but the name isn't.
Aruba.it
imap://info%40mydomain.com@imaps.aruba.it/INBOX/Sent (appears translated: Posta inviata)
imap://info%40mydomain.com@imaps.aruba.it/INBOX/SPAM (appears NOT translated: SPAM)
Tophost.it
imap://mydomain.it@pop.mydomain.it/INBOX/sent-mail (appears NOT translated: sent-mail)
imap://mydomain.it@pop.mydomain.it/INBOX/junk (appears translated: Indesiderata)
Expected results:
They should have correct names.
Comment 3•5 years ago
|
||
In general, mail providers should follow the standard IMAP folder names (Inbox, Sent, Trash, Junk, Drafts, etc.) which will be localised. Some other non-standard names (Deleted, Draft, Outbox) are also localised, see:
https://searchfox.org/comm-central/rev/83ae42aa38bc39143b0f6d93bb69a40094c4b515/mailnews/base/util/nsMsgDBFolder.cpp#3086-3136
"sent-mail" and "SPAM" are non-standard and are not localised. We could consider adding them.
Updated•5 years ago
|
The icon is set for the selected sent/junk folders regardless the name, why not ignore completely the real folder name also for the translation?
Comment 5•5 years ago
|
||
The icons are set based on the folder flags that the IMAP server communicates. We cannot completely ignore the real folder name since it may be localised already. So we only localise recognised English names in non-English versions of TB, see the code I quoted in comment #3.
Also please read though bug 543227 and bug 1173690 and look at the attached pictures. In particular, bug 1173690 gives a good example. There the German provider GMX creates a folder called "Spamverdacht", so "suspected SPAM". That's what the users see when they log onto the web interface of GMX. The "official" translation in the German localisation of TB is "Junk":
https://dxr.mozilla.org/l10n-central/source/de/mail/chrome/messenger/messenger.properties#192
So if we ignored the "real name", we'd show "Junk" in the UI to the users and not "Spamverdacht". Do you think that's acceptable?
I think it is a matter of opinions.
For me the spam detection is never 100% reliable so "suspected SPAM" is equal to "Junk".
Since I use various providers togheter in Thunderbird it is annoying to see each provider with different folder names, I prefer to completely ignore folder names of providers and see Thunderbird names everywhere.
Description
•