[Tickets #7760] Re: IMP should (correctly) support special folder name translation

bugs at horde.org bugs at horde.org
Mon Dec 8 13:12:55 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7760
------------------------------------------------------------------------------
  Ticket             | 7760
  Updated By         | thomas at gelf.net
  Summary            | IMP should (correctly) support special folder name
                     | translation
  Queue              | IMP
  Version            | 4.3
  Type               | Enhancement
  State              | Duplicate
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


thomas at gelf.net (2008-12-08 08:12) wrote:

Just for completeness I'll leave an additional comment with some  
thoughts I've written before reading Jan's hint to #7545:

IMO the real mess here is forcing translators into using  
IMAP_UTF7-encodings - and not using special folder translations as  
"real" IMAP folders instead of labels. On (IMAP) server side there  
should be a consistent naming, unfortunately there is no standard  
prescribing such names. However, as of my researches most vendors  
agree on Drafts, Sent and Trash - and also IMP is using them as a  
default setting.

Instead of using as real folder names and translating just their  
labels, IMP is setting them to _('Drafts') etc. After testing IMP in  
four different languages (the ones being used by our customers) I had  
12 special folders in my mailbox.

User (or administrative) preferences should set drafts_folder,  
sent_mail_folder and trash_folder corresponding to real IMAP folder  
names. Labels for these folders have always to be shown as  
_('Drafts'), _('Sent') and _('Trash'), regardless of what IMAP folder  
they are bound to. If a user has to change it's special folder  
location for some reason (mostly "Sent Items", "SENT" etc, as of  
compatibility reasons) he will continue to read _('Sent') in (D)IMP -  
in his very own language. This is how Thunderbird and other IMAP  
clients are behaving, and in my eyes this would be the correct  
approach for IMP too.

A "correct" patch should not happen where I applied it, but earlier in  
IMAP tree creating (Note: exactly as done by Massimiliano). It should  
substitute labels for this special folders (INBOX is a similar case  
and already handled correctly in some hardcoded way) with translated  
labels - so even 'SENT' and 'Sent Items' would show up as _('Sent').

That's enough spam for now - as I've had already written down this  
(and even more), so I didn't want to throw it away ;-)

Regards,
Thomas







More information about the bugs mailing list