Summary | sent_mail_folder doesn't display correctly in french |
Queue | Horde Groupware Webmail Edition |
Queue Version | 1.2.9 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org, slusarz (at) horde (dot) org |
Requester | patrick.timmons (at) polymtl (dot) ca |
Created | 03/11/2011 (5232 days ago) |
Due | |
Updated | 03/12/2011 (5231 days ago) |
Assigned | 03/11/2011 (5232 days ago) |
Resolved | 03/12/2011 (5231 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
String::convertCharset(_("Sent"), NLS::getCharset(), 'UTF7-IMAP')
Assigned to Jan Schneider
string from prefs.php - an admin will have to explicitly set the
sent-mail name.
Adding Jan - maybe he can comment why the French translation needs to
be ISO-8859-1 over UTF-8.
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.
// 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.
State ⇒ Feedback
Assigned to Michael Slusarz
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.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ sent_mail_folder doesn't display correctly in french
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒
Patch ⇒ No
New Attachment: Screenshot.png
State ⇒ Unconfirmed
mysql> select * from horde_prefs where pref_uid =
"xxxxxx@xxxx.polymtl.ca" and pref_name = "sent_mail_folder" \G
*************************** 1. row ***************************
pref_uid: xxxxxx@xxxx.polymtl.ca
pref_scope: imp
pref_name: sent_mail_folder
pref_value: INBOX.Envoy&AMMAqQ-
1 row in set (0.01 sec)
mysql>
"Project-Id-Version: fr_FR\n"
"Report-Msgid-Bugs-To: dev@lists.horde.org\n"
"POT-Creation-Date: 2010-09-30 13:13+0200\n"
"PO-Revision-Date: 2009-11-13 10:57+0100\n"
"Last-Translator: Yannick Sebastia <yannick.sebastia@ecole-navale.fr>\n"
"Language-Team: French <i18n@lists.horde.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: KBabel 1.11.4\n"