[Tickets #9656] Re: sent_mail_folder doesn't display correctly in french

bugs at horde.org bugs at horde.org
Fri Mar 11 22:17:52 UTC 2011


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

Ticket URL: http://bugs.horde.org/ticket/9656
------------------------------------------------------------------------------
  Ticket             | 9656
  Updated By         | patrick.timmons at polymtl.ca
  Summary            | sent_mail_folder doesn't display correctly in french
  Queue              | Horde Groupware Webmail Edition
  Version            | 1.2.9
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Slusarz
------------------------------------------------------------------------------


patrick.timmons at polymtl.ca (2011-03-11 22:17) wrote:

> What is broken?  That is the correct translated mailbox name.
>
> I assume you want your sent-mail folder to be "Envoyé".  The proper  
> UTF8 -> UTF7-IMAP representation of that is "envoy&AOk-".  Your  
> mailbox name looks like it was converted from ISO-8859-1.

Exact. prefs.php says

// sent mail folder
$_prefs['sent_mail_folder'] = array(
     // The mailbox value must be encoded in the UTF7-IMAP charset (see RFC
     // 3501 [5.1.3]).
     'value' => String::convertCharset(_("Sent"), null, 'UTF7-IMAP'),
     // For Exchange, uncomment the entry below.
     // 'value' => 'Sent Items',
     'locked' => false,
     'shared' => false,
     'type' => 'implicit');

So _("Sent") comes from the po file fr_FR.po which is indeed in iso-8859-1

#: config/prefs.php.dist:264
msgid "Sent"
msgstr "Envoy<E9>"

I don't know what to change and how so that prefs works whatever  
language my users select. I guess there is a conversion step missing  
based on the language the user selects.







More information about the bugs mailing list