<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 </span><font>f<font face="Courier">ieldNameIsMsgCode="true”</font><font face="Calibri,sans-serif">. E.g.</font></font></div>
<div><font><font face="Calibri,sans-serif"><br>
</font></font></div>
<div><font face="Courier"><alatag:occurrenceTableRow annotate="false" section="dataset" fieldCode="dataProvider"
<font color="#ff0000">fieldNameIsMsgCode="true" fieldName="record.dataProvider.label"</font>></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>-- </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>"Suelane G. Fontes" <<a href="mailto:suelane@uol.com.br">suelane@uol.com.br</a>><br>
<span style="font-weight:bold">Date: </span>Friday, 21 March 2014 3:05 am<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:ala-portal@lists.gbif.org">ala-portal@lists.gbif.org</a>" <<a href="mailto:ala-portal@lists.gbif.org">ala-portal@lists.gbif.org</a>><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"><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"> </span></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US"><alatag:occurrenceTableRow annotate="false" section="dataset" fieldCode="dataProvider"</span></em><em><span style="font-family: Arial, sans-serif; color: red;" lang="EN-US"> fieldName="Data
Provider"</span></em><em><span style="font-family: Arial, sans-serif;" lang="EN-US">></span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US"> <c:choose></span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US"> <c:when test="${record.processed.attribution.dataProviderUid != null && not empty record.processed.attribution.dataProviderUid}"></span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US"> <c:set target="${fieldsMap}" property="dataProviderUid" value="true" /></span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US"> <c:set target="${fieldsMap}" property="dataProviderName" value="true" /></span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US"> <a href="${collectionsWebappContext}/public/show/${record.processed.attribution.dataProviderUid}"></span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US"> ${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"> </a></span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US"> </c:when></span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US"> <c:otherwise></span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US"> <c:set target="${fieldsMap}" property="dataProviderName" value="true" /></span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US"> ${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"> </c:otherwise></span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US"> </c:choose></span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><em><span style="font-family: Arial, sans-serif;" lang="EN-US"> </alatag:occurrenceTableRow></span></em></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-size: 10pt; font-family: Verdana, sans-serif;" lang="EN-US"> </span></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-size: 10pt; font-family: Verdana, sans-serif;" lang="EN-US"> </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"> </span></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-size: 10pt; font-family: Verdana, sans-serif;" lang="EN-US"><fmt:message key="subtitDetHub18"/></span></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;"><span style="font-size: 10pt; font-family: Verdana, sans-serif;" lang="EN-US"> </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"> </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"> </p>
</div>
</div>
</span>
</body>
</html>