<?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>DIMP not always showing translated labels</title> 
  <pubDate>Fri, 10 Apr 2026 18:48:31 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7759</link> 
  <atom:link rel="self" type="application/rss+xml" title="DIMP not always showing translated labels" href="https://bugs.horde.org/ticket/7759/rss" /> 
  <description>DIMP not always showing translated labels</description> 
 
   
   
  <item> 
   <title>INBOX has special treatment, it&#039;s shown as &quot;Posteingang&quot;, &quot;P</title> 
   <description>INBOX has special treatment, it&#039;s shown as &quot;Posteingang&quot;, &quot;Posta in Arrivo&quot; etc. However if I choose a subfolder of my INBOX heading will be &quot;INBOX/subfolder&quot; instead of &quot;Posteingang/subfolder&quot;.



The attached patch fixes this behaviour, I hope it is done the right way ;-) I tried different approaches (pass label when clicking and setting correct label on server side etc), this one seemed to be the cleanest one.



Please note that this also fixes the same issue with special folder names having a translated label. Afaik there is no such support in DIMP right now - displayed special folder names will always equal server-side folder name.



My DIMP is patched to have server-side Drafts / Sent / Trash folders being usable as such in Thunderbird &amp; Co and nonetheless displayed using the user&#039;s language in DIMP. I&#039;ll immediately open a related bug report, as IMO this seems to be a really important feature.



Best regards,

Thomas Gelf

</description> 
   <pubDate>Fri, 05 Dec 2008 17:11:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7759#t51088</link> 
  </item> 
   
  <item> 
   <title>Briefly looked at this, but at a minimum any label manipulat</title> 
   <description>Briefly looked at this, but at a minimum any label manipulations should take place on the server (via PHP code) *not* on the browser (via JS).



However, this looks related to some of the other folder naming tickets floating around so I will wait for Jan&#039;s input.</description> 
   <pubDate>Mon, 08 Dec 2008 06:56:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7759#t51138</link> 
  </item> 
   
  <item> 
   <title>Thank you for your feedback! Please note that right now ever</title> 
   <description>Thank you for your feedback! Please note that right now every folder as two related properties:

- mbox name (not translated, attribute &quot;l&quot;, example: &quot;INBOX_MeinOrdner&quot;

- label (missing hierarchy information, just &quot;MeinOrdner&quot; in the above example)

DIMP is currently using mbox as a header, there has been a _-to__ and /-to-_ on serverside, transformation back is afair happening in JS.



What I&#039;m doing in my patch is



- check wheter given folder is a special folder, if so: use label instead of mbox

- otherwise find out if folder is a subfolder, if so check whether the root folder is a special folder and if so: use label instead of mbox for root folder name, concatenate parts once again



I agree that providing correct label as an attribute on serverside would be the correct and more elegant method, but that would require one additional attribute (label is required for tree display, mbox for communication with the server, ListMessages etc) as there is no such attribute right now.



The patch I&#039;ve attached is &quot;mixing&quot; given information in label and mbox and I agree that it is a really opportunistic attempt of solving this problem - however IMO it has been the least intrusive one.



Cheers,

Thomas</description> 
   <pubDate>Mon, 08 Dec 2008 11:37:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7759#t51141</link> 
  </item> 
   
  <item> 
   <title>Yes, that doesn&#039;t have anything to do with the other folder </title> 
   <description>Yes, that doesn&#039;t have anything to do with the other folder translation issues. The translation works, but gets lost once it&#039;s used inside the tree hierarchy. At least that&#039;s how I understood Thomas&#039; report.</description> 
   <pubDate>Mon, 08 Dec 2008 12:21:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7759#t51146</link> 
  </item> 
   
  <item> 
   <title>&gt; Yes, that doesn&#039;t have anything to do with the other folde</title> 
   <description>&gt; Yes, that doesn&#039;t have anything to do with the other folder 

&gt; translation issues. The translation works, but gets lost once it&#039;s 

&gt; used inside the tree hierarchy. At least that&#039;s how I understood 

&gt; Thomas&#039; report.



After looking at this - why is this not an IMP ticket?  The mailbox label in DIMP is set not via the cached mailbox information on the browser but via the &#039;label&#039; metadata sent in the ListMessages response.  This label is created using IMP::getLabel() - which is the way we generate labels everywhere in IMP.  So does this not display correctly in IMP either?</description> 
   <pubDate>Tue, 16 Dec 2008 03:43:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7759#t51276</link> 
  </item> 
   
  <item> 
   <title>Thomas, can you respond to the question about IMP display?</title> 
   <description>Thomas, can you respond to the question about IMP display?</description> 
   <pubDate>Mon, 22 Dec 2008 03:09:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7759#t51378</link> 
  </item> 
   
  <item> 
   <title>&gt; After looking at this - why is this not an IMP ticket?

&gt; </title> 
   <description>&gt; After looking at this - why is this not an IMP ticket?

&gt; ...

&gt; So does this not display correctly in IMP either?



I&#039;m using DIMP only ;-) But you&#039;re right, IMP is also displaying &quot;wrong&quot; labels. Easiest way to reproduce this:



* create a new subfolder below your Inbox

* switch to this subfolder



It will show you INBOX/Folder instead of Inbox/Folder - and in other languages it is even worse, as INBOX remains INBOX and is not translated to &quot;Posteingang&quot;, &quot;Posta in arrivo&quot; etc.

</description> 
   <pubDate>Mon, 22 Dec 2008 10:06:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7759#t51392</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/imp/docs/CHANGES?rt=horde&amp;r1=1.699.2.372&amp;r2=1.699.2.373&amp;ty=u
http://cvs.horde.org/diff.php/imp/lib/IMP.php?rt=horde&amp;r1=1.449.4.122&amp;r2=1.449.4.123&amp;ty=u</description> 
   <pubDate>Mon, 29 Dec 2008 20:11:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7759#t51484</link> 
  </item> 
   
  <item> 
   <title>Fixed in IMP 4.3.3.</title> 
   <description>Fixed in IMP 4.3.3.</description> 
   <pubDate>Mon, 29 Dec 2008 20:12:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7759#t51485</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

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

Request #7759 - Show translated INBOX prefix.

http://git.horde.org/diff.php/imp/docs/CHANGES?rt=horde-git&amp;r1=6a839412944d9486aceb6da1022209b4576e3a0b&amp;r2=0f708c1abd837f017ec35b82c039ef4118df42d9
http://git.horde.org/diff.php/imp/lib/IMP.php?rt=horde-git&amp;r1=6150f1e289d7c532f380e11292da93d90e1255d1&amp;r2=0f708c1abd837f017ec35b82c039ef4118df42d9</description> 
   <pubDate>Tue, 12 Jan 2010 23:56:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7759#t57488</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
