<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
Hi Suelane,</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div><span style="color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">The tag file in
</span><span style="color: rgb(0, 0, 0); font-size: 14px;"><font face="Courier">/webapp/WEB-INF/tags/occurrenceTableRow.tag</font></span><span style="color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"> has some code to handle i18n codes.
 For the fieldName to internationalised, you need to add an extra param of&nbsp;</span><font>f<font face="Courier">ieldNameIsMsgCode=&quot;true”</font><font face="Calibri,sans-serif">. &nbsp;E.g.</font></font></div>
<div><font><font face="Calibri,sans-serif"><br>
</font></font></div>
<div><font face="Courier">&lt;alatag:occurrenceTableRow annotate=&quot;false&quot; section=&quot;dataset&quot; fieldCode=&quot;dataProvider&quot;
<font color="#ff0000">fieldNameIsMsgCode=&quot;true&quot; fieldName=&quot;record.dataProvider.label&quot;</font>&gt;</font></div>
<div style="color: rgb(0, 0, 0); font-size: 14px;">
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">See if that works for you.</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">Regards</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">Nick</div>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<div>--&nbsp;</div>
<div>
<div style="font-family: Calibri; font-size: medium;">Nick dos Remedios</div>
<div style="font-family: Calibri; font-size: medium;">Atlas of Living Australia</div>
<div style="font-family: Calibri; font-size: medium;">http://www.ala.org.au/</div>
</div>
</div>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>&quot;Suelane G. Fontes&quot; &lt;<a href="mailto:suelane@uol.com.br">suelane@uol.com.br</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Friday, 21 March 2014 3:05 am<br>
<span style="font-weight:bold">To: </span>&quot;<a href="mailto:ala-portal@lists.gbif.org">ala-portal@lists.gbif.org</a>&quot; &lt;<a href="mailto:ala-portal@lists.gbif.org">ala-portal@lists.gbif.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>[Ala-portal] Internacionalization (i18n) of the Hubs module<br>
</div>
<div><br>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-size: 10pt; font-family: Verdana, sans-serif;" lang="EN-US">Hello,</span></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-size: 10pt; font-family: Verdana, sans-serif;" lang="EN-US">I am doing the internacionalization (i18n) of the Hubs module (recordCoreDiv.jsp file) and I am not getting success in the FieldName
 property update in block command ‘</span><span style="font-family: Arial, sans-serif;" lang="EN-US">&lt;alatag:occurrenceTableRow</span><span style="font-size: 10pt; font-family: Verdana, sans-serif;" lang="EN-US">’, as showing below:</span></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-size: 10pt; font-family: Verdana, sans-serif;" lang="EN-US">&nbsp;</span></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US">&lt;alatag:occurrenceTableRow annotate=&quot;false&quot; section=&quot;dataset&quot; fieldCode=&quot;dataProvider&quot;</span></em><em><span style="font-family: Arial, sans-serif; color: red;" lang="EN-US">&nbsp;fieldName=&quot;Data
 Provider&quot;</span></em><em><span style="font-family: Arial, sans-serif;" lang="EN-US">&gt;</span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;c:choose&gt;</span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;c:when test=&quot;${record.processed.attribution.dataProviderUid != null &amp;&amp; not empty record.processed.attribution.dataProviderUid}&quot;&gt;</span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;c:set target=&quot;${fieldsMap}&quot; property=&quot;dataProviderUid&quot; value=&quot;true&quot; /&gt;</span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;c:set target=&quot;${fieldsMap}&quot; property=&quot;dataProviderName&quot; value=&quot;true&quot; /&gt;</span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&quot;${collectionsWebappContext}/public/show/${record.processed.attribution.dataProviderUid}&quot;&gt;</span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ${record.processed.attribution.dataProviderName}</span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/a&gt;</span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/c:when&gt;</span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;c:otherwise&gt;</span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;c:set target=&quot;${fieldsMap}&quot; property=&quot;dataProviderName&quot; value=&quot;true&quot; /&gt;</span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ${record.processed.attribution.dataProviderName}</span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/c:otherwise&gt;</span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/c:choose&gt;</span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/alatag:occurrenceTableRow&gt;</span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-size: 10pt; font-family: Verdana, sans-serif;" lang="EN-US">&nbsp;</span></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-size: 10pt; font-family: Verdana, sans-serif;" lang="EN-US">&nbsp;</span></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-size: 10pt; font-family: Verdana, sans-serif;" lang="EN-US">I would like to update fieldName property with data key located at the messages_pt_BR.properties file.</span></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-size: 10pt; font-family: Verdana, sans-serif;" lang="EN-US">&nbsp;</span></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-size: 10pt; font-family: Verdana, sans-serif;" lang="EN-US">&lt;fmt:message key=&quot;subtitDetHub18&quot;/&gt;</span></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-size: 10pt; font-family: Verdana, sans-serif;" lang="EN-US">&nbsp;</span></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-size: 10pt; font-family: Verdana, sans-serif;" lang="EN-US">I tried to do it and an error has occurred. Is there other way to do it?</span></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-size: 10pt; font-family: Verdana, sans-serif;" lang="EN-US">&nbsp;</span></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-size: 10pt; font-family: Verdana, sans-serif;" lang="EN-US">Thanks!</span></p>
<p class="MsoNormal">&nbsp;</p>
</div>
</div>
</span>
</body>
</html>