<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>sent_mail_folder doesn&#039;t display correctly in french</title> 
  <pubDate>Tue, 07 Apr 2026 17:34:25 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9656</link> 
  <atom:link rel="self" type="application/rss+xml" title="sent_mail_folder doesn&#039;t display correctly in french" href="https://bugs.horde.org/ticket/9656/rss" /> 
  <description>sent_mail_folder doesn&#039;t display correctly in french</description> 
 
   
   
  <item> 
   <title>Value is default from prefs.php / original po file

mysql&gt;</title> 
   <description>Value is default from prefs.php / original po file

mysql&gt; select * from horde_prefs where pref_uid = &quot;xxxxxx@xxxx.polymtl.ca&quot; and pref_name = &quot;sent_mail_folder&quot; \G
*************************** 1. row ***************************
  pref_uid: xxxxxx@xxxx.polymtl.ca
pref_scope: imp
 pref_name: sent_mail_folder
pref_value: INBOX.Envoy&amp;AMMAqQ-
1 row in set (0.01 sec)

mysql&gt; 

&quot;Project-Id-Version: fr_FR\n&quot;
&quot;Report-Msgid-Bugs-To: dev@lists.horde.org\n&quot;
&quot;POT-Creation-Date: 2010-09-30 13:13+0200\n&quot;
&quot;PO-Revision-Date: 2009-11-13 10:57+0100\n&quot;
&quot;Last-Translator: Yannick Sebastia &lt;yannick.sebastia@ecole-navale.fr&gt;\n&quot;
&quot;Language-Team: French &lt;i18n@lists.horde.org&gt;\n&quot;
&quot;MIME-Version: 1.0\n&quot;
&quot;Content-Type: text/plain; charset=ISO-8859-1\n&quot;
&quot;Content-Transfer-Encoding: 8bit\n&quot;
&quot;Plural-Forms: nplurals=2; plural=(n &gt; 1);\n&quot;
&quot;X-Generator: KBabel 1.11.4\n&quot;
</description> 
   <pubDate>Fri, 11 Mar 2011 21:01:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9656#t62231</link> 
  </item> 
   
  <item> 
   <title>What is broken?  That is the correct translated mailbox name</title> 
   <description>What is broken?  That is the correct translated mailbox name.

I assume you want your sent-mail folder to be &quot;Envoyé&quot;.  The proper UTF8 -&gt; UTF7-IMAP representation of that is &quot;envoy&amp;AOk-&quot;.  Your mailbox name looks like it was converted from ISO-8859-1.</description> 
   <pubDate>Fri, 11 Mar 2011 21:30:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9656#t62234</link> 
  </item> 
   
  <item> 
   <title>&gt; What is broken?  That is the correct translated mailbox na</title> 
   <description>&gt; What is broken?  That is the correct translated mailbox name.
&gt;
&gt; I assume you want your sent-mail folder to be &quot;Envoyé&quot;.  The proper 
&gt; UTF8 -&gt; UTF7-IMAP representation of that is &quot;envoy&amp;AOk-&quot;.  Your 
&gt; mailbox name looks like it was converted from ISO-8859-1.

Exact. prefs.php says 

// sent mail folder
$_prefs[&#039;sent_mail_folder&#039;] = array(
    // The mailbox value must be encoded in the UTF7-IMAP charset (see RFC
    // 3501 [5.1.3]).
    &#039;value&#039; =&gt; String::convertCharset(_(&quot;Sent&quot;), null, &#039;UTF7-IMAP&#039;),
    // For Exchange, uncomment the entry below.
    // &#039;value&#039; =&gt; &#039;Sent Items&#039;,
    &#039;locked&#039; =&gt; false,
    &#039;shared&#039; =&gt; false,
    &#039;type&#039; =&gt; &#039;implicit&#039;);

So _(&quot;Sent&quot;) comes from the po file fr_FR.po which is indeed in iso-8859-1

#: config/prefs.php.dist:264
msgid &quot;Sent&quot;
msgstr &quot;Envoy&lt;E9&gt;&quot;

I don&#039;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.
</description> 
   <pubDate>Fri, 11 Mar 2011 22:17:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9656#t62235</link> 
  </item> 
   
  <item> 
   <title>Not sure what we can really do about this except remove the </title> 
   <description>Not sure what we can really do about this except remove the gettext 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. </description> 
   <pubDate>Fri, 11 Mar 2011 23:16:47 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9656#t62236</link> 
  </item> 
   
  <item> 
   <title>This has been fixed already. Replace the value with:
String</title> 
   <description>This has been fixed already. Replace the value with:
String::convertCharset(_(&quot;Sent&quot;), NLS::getCharset(), &#039;UTF7-IMAP&#039;)</description> 
   <pubDate>Sat, 12 Mar 2011 11:32:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9656#t62237</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
