<?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>Translation and Pseudo default folders</title> 
  <pubDate>Fri, 10 Apr 2026 10:04:41 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7545</link> 
  <atom:link rel="self" type="application/rss+xml" title="Translation and Pseudo default folders" href="https://bugs.horde.org/ticket/7545/rss" /> 
  <description>Translation and Pseudo default folders</description> 
 
   
   
  <item> 
   <title>Hello,



In many webmails, mail clients, we can define a tr</title> 
   <description>Hello,



In many webmails, mail clients, we can define a translated name for pseudo-standard IMAP folders like 

&quot;Inbox&quot;, &quot;Sent&quot;, &quot;Draft&quot;, &quot;Junk&quot;, and &quot;Trash&quot;



In result, we got the same defaults folders for all theses things into the webmail and with our mail client (like Thunderbird for example).



But it&#039;s not possible with IMP. 

In IMP we got only 2 choices :



Choice 1 =&gt; Use the translated name

With this setting, the folder&#039;s names in the UI are well translated but translated names are used too by the IMAP backend.

So if you use the UI one time in french and one time in german, IMP will create 2 IMAP folders : &quot;Envoyés&quot; and &quot;Gesendet&quot;

And when you switch with an e-mail client you will see 3 IMAP folders :&quot;Sent&quot;, &quot;Envoyés&quot; and &quot;Gesendet&quot;.

A bit confusing.



Choice 2 =&gt; Force the folder&#039;s name in the &quot;pref.php&quot;

Now all users will get the same folder for the webmail and the e-mail client but IMP will display them with their english name whatever the language you are using for the UI in IMP.



Can we just add, for all theses &quot;pseudo-standard&quot; forders, an option to map translated names to real imap folders ?



Regards,

Benoit Poulet.



</description> 
   <pubDate>Thu, 23 Oct 2008 14:58:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7545#t49898</link> 
  </item> 
   
  <item> 
   <title>Accepted, due to popular request. See the mailing list archi</title> 
   <description>Accepted, due to popular request. See the mailing list archives.</description> 
   <pubDate>Fri, 24 Oct 2008 10:38:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7545#t49953</link> 
  </item> 
   
  <item> 
   <title>Here is a patch that solves the isuue:



You also have to s</title> 
   <description>Here is a patch that solves the isuue:



You also have to set in imp prefs.php



// 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]). For Exchange, uncomment the entry below and remove the

    // default value entry.

    // &#039;value&#039; =&gt; &#039;Sent Items&#039;,

    &#039;value&#039; =&gt; &quot;Sent&quot;,

//    &#039;value&#039; =&gt; _(&quot;Sent&quot;),

    &#039;locked&#039; =&gt; false,

    &#039;shared&#039; =&gt; false,

    &#039;type&#039; =&gt; &#039;implicit&#039;);



// drafts folder

$_prefs[&#039;drafts_folder&#039;] = array(

    // The mailbox value must be encoded in the UTF7-IMAP charset (see RFC

    // 3501 [5.1.3]).

    &#039;value&#039; =&gt; &quot;Drafts&quot;,

//    &#039;value&#039; =&gt; _(&quot;Drafts&quot;),

    &#039;locked&#039; =&gt; false,

    &#039;shared&#039; =&gt; false,

    &#039;type&#039; =&gt; &#039;implicit&#039;);



// trash folder

$_prefs[&#039;trash_folder&#039;] = array(

    // The mailbox value must be encoded in the UTF7-IMAP charset (see RFC

    // 3501 [5.1.3]). For Exchange, uncomment the entry below and remove the

    // default value entry.

    // &#039;value&#039; =&gt; &#039;Deleted Items&#039;,

    &#039;value&#039; =&gt; &quot;Trash&quot;,

//    &#039;value&#039; =&gt; _(&quot;Trash&quot;),

    &#039;locked&#039; =&gt; false,

    &#039;shared&#039; =&gt; false,

    &#039;type&#039; =&gt; &#039;implicit&#039;);



// spam folder

$_prefs[&#039;spam_folder&#039;] = array(

    // The mailbox value must be encoded in the UTF7-IMAP charset (see RFC

    // 3501 [5.1.3]).

    &#039;value&#039; =&gt; &quot;Spam&quot;,

//    &#039;value&#039; =&gt; _(&quot;Spam&quot;),

    &#039;locked&#039; =&gt; false,

    &#039;shared&#039; =&gt; false,

    &#039;type&#039; =&gt; &#039;implicit&#039;);





Best regards 

Massimiliano Ferrero</description> 
   <pubDate>Sun, 16 Nov 2008 15:44:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7545#t50769</link> 
  </item> 
   
  <item> 
   <title>Patch tested and it&#039;s working very well.



Thank you Massim</title> 
   <description>Patch tested and it&#039;s working very well.



Thank you Massimiliano.



&gt; Here is a patch that solves the isuue:

&gt;

&gt; You also have to set in imp prefs.php

&gt;

&gt; // sent mail folder

&gt; $_prefs[&#039;sent_mail_folder&#039;] = array(

&gt;     // The mailbox value must be encoded in the UTF7-IMAP charset (see RFC

&gt;     // 3501 [5.1.3]). For Exchange, uncomment the entry below and remove the

&gt;     // default value entry.

&gt;     // &#039;value&#039; =&gt; &#039;Sent Items&#039;,

&gt;     &#039;value&#039; =&gt; &quot;Sent&quot;,

&gt; //    &#039;value&#039; =&gt; _(&quot;Sent&quot;),

&gt;     &#039;locked&#039; =&gt; false,

&gt;     &#039;shared&#039; =&gt; false,

&gt;     &#039;type&#039; =&gt; &#039;implicit&#039;);

&gt;

&gt; // drafts folder

&gt; $_prefs[&#039;drafts_folder&#039;] = array(

&gt;     // The mailbox value must be encoded in the UTF7-IMAP charset (see RFC

&gt;     // 3501 [5.1.3]).

&gt;     &#039;value&#039; =&gt; &quot;Drafts&quot;,

&gt; //    &#039;value&#039; =&gt; _(&quot;Drafts&quot;),

&gt;     &#039;locked&#039; =&gt; false,

&gt;     &#039;shared&#039; =&gt; false,

&gt;     &#039;type&#039; =&gt; &#039;implicit&#039;);

&gt;

&gt; // trash folder

&gt; $_prefs[&#039;trash_folder&#039;] = array(

&gt;     // The mailbox value must be encoded in the UTF7-IMAP charset (see RFC

&gt;     // 3501 [5.1.3]). For Exchange, uncomment the entry below and remove the

&gt;     // default value entry.

&gt;     // &#039;value&#039; =&gt; &#039;Deleted Items&#039;,

&gt;     &#039;value&#039; =&gt; &quot;Trash&quot;,

&gt; //    &#039;value&#039; =&gt; _(&quot;Trash&quot;),

&gt;     &#039;locked&#039; =&gt; false,

&gt;     &#039;shared&#039; =&gt; false,

&gt;     &#039;type&#039; =&gt; &#039;implicit&#039;);

&gt;

&gt; // spam folder

&gt; $_prefs[&#039;spam_folder&#039;] = array(

&gt;     // The mailbox value must be encoded in the UTF7-IMAP charset (see RFC

&gt;     // 3501 [5.1.3]).

&gt;     &#039;value&#039; =&gt; &quot;Spam&quot;,

&gt; //    &#039;value&#039; =&gt; _(&quot;Spam&quot;),

&gt;     &#039;locked&#039; =&gt; false,

&gt;     &#039;shared&#039; =&gt; false,

&gt;     &#039;type&#039; =&gt; &#039;implicit&#039;);

&gt;

&gt;

&gt; Best regards

&gt; Massimiliano Ferrero

</description> 
   <pubDate>Fri, 28 Nov 2008 09:26:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7545#t50985</link> 
  </item> 
   
  <item> 
   <title>I would have been quite happy if stumbled earlier over this </title> 
   <description>I would have been quite happy if stumbled earlier over this ticket! Thanks for the patch, this is the correct way of solving this issue.



For Horde devs: before committing (I really hope you&#039;re doing so ;-)) please have a look at translation files - there is an IMAP_UTF7-encoded string at least in German translation (Drafts). As a quick grep told me German seems to be the only translation handling current default preference &quot;correctly&quot;, Slovak, French and Turkish also contain special chars in folder translations, but are not using IMAP_UTF7 encoding. This is probably also true for Traditional Chinese and Japanese - but I&#039;m not so used to this languages / encodings to give a competent statement ;-)



Cheers,

Thomas

</description> 
   <pubDate>Mon, 08 Dec 2008 13:01:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7545#t51150</link> 
  </item> 
   
  <item> 
   <title>Added to IMP 5.</title> 
   <description>Added to IMP 5.</description> 
   <pubDate>Mon, 29 Dec 2008 21:06:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7545#t51487</link> 
  </item> 
   
  <item> 
   <title>&gt; Added to IMP 5.



We have an updated patch (attached)  th</title> 
   <description>&gt; Added to IMP 5.



We have an updated patch (attached)  that adds a prefs.php object (should the pseudo default folders be translated or not).



That way, people wanting the old behavior could have it.



Regards,



Clément Hermann 



</description> 
   <pubDate>Wed, 06 May 2009 12:09:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7545#t54022</link> 
  </item> 
   
  <item> 
   <title>&gt; We have an updated patch (attached)  that adds a prefs.php</title> 
   <description>&gt; We have an updated patch (attached)  that adds a prefs.php object 

&gt; (should the pseudo default folders be translated or not).



There is no attachment.</description> 
   <pubDate>Wed, 06 May 2009 12:15:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7545#t54023</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; We have an updated patch (attached)  that adds a prefs.ph</title> 
   <description>&gt;&gt; We have an updated patch (attached)  that adds a prefs.php object

&gt;&gt; (should the pseudo default folders be translated or not).

&gt;

&gt; There is no attachment.



My bad. Here it is.</description> 
   <pubDate>Wed, 06 May 2009 12:42:10 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7545#t54024</link> 
  </item> 
   
  <item> 
   <title>Please create your patch against a current checkout. Your pa</title> 
   <description>Please create your patch against a current checkout. Your patch also contains the changes that have been applied in Git already.</description> 
   <pubDate>Tue, 12 May 2009 14:11:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7545#t54083</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Request #754</title> 
   <description>Changes have been made in Git for this ticket:

Request #7545 - Translate special folder names.

http://git.horde.org/diff.php/imp/config/prefs.php.dist?rt=horde-git&amp;r1=5b571add72d698859b98620d537d2736871de895&amp;r2=d2ef93dc0455c3b2498c005cce1d22a466256f73
http://git.horde.org/diff.php/imp/docs/CHANGES?rt=horde-git&amp;r1=0f708c1abd837f017ec35b82c039ef4118df42d9&amp;r2=d2ef93dc0455c3b2498c005cce1d22a466256f73
http://git.horde.org/diff.php/imp/lib/IMAP/Tree.php?rt=horde-git&amp;r1=9b2d0a08bcdac1160dd927504e78ce0cd513ca3e&amp;r2=d2ef93dc0455c3b2498c005cce1d22a466256f73
http://git.horde.org/diff.php/imp/lib/IMP.php?rt=horde-git&amp;r1=0f708c1abd837f017ec35b82c039ef4118df42d9&amp;r2=d2ef93dc0455c3b2498c005cce1d22a466256f73</description> 
   <pubDate>Tue, 12 Jan 2010 23:56:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7545#t57489</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
