<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Icon tip (mouse over) translation in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/icon-tip-mouse-over-translation/m-p/314433#M1434</link>
    <description>&lt;P&gt;Yes, this would be better. What's your question (this site is for questions)?&lt;/P&gt;
&lt;P&gt;If you have a bug report (which this seems to be), please do it in &lt;A href="http://jira.nuxeo.com/" target="test_blank"&gt;http://jira.nuxeo.com/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Apr 2012 16:07:28 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2012-04-05T16:07:28Z</dc:date>
    <item>
      <title>Icon tip (mouse over) translation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/icon-tip-mouse-over-translation/m-p/314432#M1433</link>
      <description>&lt;P&gt;When the interface is in French, in a list (like in a Workspace or Folder), if I hover over an item icon, I see the English version of the tip.&lt;/P&gt;
&lt;P&gt;If I look at the produced html, the img tag contain the alt="Folder" and title="Folder" attributes.&lt;/P&gt;
&lt;P&gt;For the document-type we created, we see a translated version.&lt;/P&gt;
&lt;P&gt;Shouldn't we also see a translated version for the Main document-types? I checked and the values are present in the messages_fr.properties file.&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;
&lt;P&gt;Affected types :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;File : Fichier&lt;/LI&gt;
&lt;LI&gt;Picture : Image&lt;/LI&gt;
&lt;LI&gt;Folder : Dossier&lt;/LI&gt;
&lt;LI&gt;Picturebook : Livre d'image&lt;/LI&gt;
&lt;LI&gt;Workspace : Espace de travail&lt;/LI&gt;
&lt;LI&gt;Ordered folder : Dossier ordonné&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 04 Apr 2012 23:06:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/icon-tip-mouse-over-translation/m-p/314432#M1433</guid>
      <dc:creator>patrek</dc:creator>
      <dc:date>2012-04-04T23:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Icon tip (mouse over) translation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/icon-tip-mouse-over-translation/m-p/314433#M1434</link>
      <description>&lt;P&gt;Yes, this would be better. What's your question (this site is for questions)?&lt;/P&gt;
&lt;P&gt;If you have a bug report (which this seems to be), please do it in &lt;A href="http://jira.nuxeo.com/" target="test_blank"&gt;http://jira.nuxeo.com/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 16:07:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/icon-tip-mouse-over-translation/m-p/314433#M1434</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-04-05T16:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Icon tip (mouse over) translation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/icon-tip-mouse-over-translation/m-p/314434#M1435</link>
      <description>&lt;P&gt;Bug open into the client's account.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2012 04:03:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/icon-tip-mouse-over-translation/m-p/314434#M1435</guid>
      <dc:creator>patrek</dc:creator>
      <dc:date>2012-04-06T04:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Icon tip (mouse over) translation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/icon-tip-mouse-over-translation/m-p/314435#M1436</link>
      <description>&lt;P&gt;Can you copy the jira issue link here ?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2012 20:15:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/icon-tip-mouse-over-translation/m-p/314435#M1436</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-04-10T20:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Icon tip (mouse over) translation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/icon-tip-mouse-over-translation/m-p/314436#M1437</link>
      <description>&lt;P&gt;Waiting the correction You can create your own Content View with studio and create a template type widget that will displays the icon. This template will reuse the default template used for displaying the icon but for the alt value will use the #{messages[document.type]} and add keys into the message property into studio (Resources &amp;gt; I18n Files).&lt;/P&gt;
&lt;P&gt;If I'm right here is the xhtml fragment used to display icon:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;f:subview id="#{widget.id}"
  xmlns:c="http://java.sun.com/jstl/core"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:nxu="http://nuxeo.org/nxweb/util"
  xmlns:nxd="http://nuxeo.org/nxweb/document"
  xmlns:nxl="http://nuxeo.org/nxforms/layout"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:nxp="http://nuxeo.org/nxweb/pdf"&amp;gt;
&amp;lt;c:if test="#{nxl:isLikePlainMode(widget.mode)}"&amp;gt;#{field_2}&amp;lt;/c:if&amp;gt;
&amp;lt;c:if test="#{nxl:isLikeViewMode(widget.mode)}"&amp;gt;

  &amp;lt;div id="docRefTarget:#{field_1}"
    class="#{nxu:test(field_3, 'nxDropTarget', '')}"&amp;gt;
    &amp;lt;div id="docRef:#{field_1}"
      class="cell popupTarget dropout nxDraggable"
      docRef="#{field_1}"&amp;gt;
      &amp;lt;nxu:graphicImage
        value="#{nxd:iconPath(field_0)}" alt="#{field_2}" title="#{field_2}"
        rendered="#{!empty nxd:iconPath(field_0)}"
        styleClass="smallIcon" /&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/c:if&amp;gt;
&amp;lt;c:if test="#{widget.mode == 'pdf'}"&amp;gt;
  &amp;lt;nxp:html&amp;gt;
    &amp;lt;nxu:graphicImage
      value="#{nxd:iconPath(field_0)}" alt="#{field_2}" title="#{field_2}"
      rendered="#{!empty nxd:iconPath(field_0)}"
      styleClass="smallIcon" /&amp;gt;
  &amp;lt;/nxp:html&amp;gt;
&amp;lt;/c:if&amp;gt;
&amp;lt;/f:subview&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;So replace alt="#{field_2}" by alt="#{messages[field_2]}".&lt;/P&gt;
&lt;P&gt;About widget configuration you have to bind the fields like in this order:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;        &amp;lt;field&amp;gt;data&amp;lt;/field&amp;gt;
        &amp;lt;field&amp;gt;data.ref&amp;lt;/field&amp;gt;
        &amp;lt;field&amp;gt;data.type&amp;lt;/field&amp;gt;
        &amp;lt;field&amp;gt;data.folder&amp;lt;/field&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or you wait for the fix &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2012 20:20:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/icon-tip-mouse-over-translation/m-p/314436#M1437</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-04-10T20:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Icon tip (mouse over) translation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/icon-tip-mouse-over-translation/m-p/314437#M1438</link>
      <description>&lt;P&gt;Thanks, I'll try that as soon as possible.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2012 20:59:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/icon-tip-mouse-over-translation/m-p/314437#M1438</guid>
      <dc:creator>patrek</dc:creator>
      <dc:date>2012-04-10T20:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Icon tip (mouse over) translation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/icon-tip-mouse-over-translation/m-p/314438#M1439</link>
      <description>&lt;P&gt;Ok. https&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2012 22:51:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/icon-tip-mouse-over-translation/m-p/314438#M1439</guid>
      <dc:creator>patrek</dc:creator>
      <dc:date>2012-04-11T22:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Icon tip (mouse over) translation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/icon-tip-mouse-over-translation/m-p/314439#M1440</link>
      <description>&lt;P&gt;This trouble has been fixed into the 5.5.0-HF07 and back ported into nuxeo 5.6&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2012 10:21:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/icon-tip-mouse-over-translation/m-p/314439#M1440</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-04-12T10:21:25Z</dc:date>
    </item>
  </channel>
</rss>

