<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; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>Hi Daniel and Suelane,</div>
<div><br>
</div>
<div>I’ve had a look at your&nbsp;messages_es.properties file and it appears to contain text which has been encoded in a mixture of
<b>UTF-8</b> and <b>Western (Windows-1252)</b>. When I view the file in a text editor that lets me change the character encoding (you can use a web browser to do this too), I can read some of the file properly with UTF-8 and other parts of the file with the
 encoding set to&nbsp;Western (Windows-1252). &nbsp;So I think this file has been edited on a number of occasions, possibly on different computers and this has resulted in a mixture of the 2 character encodings.&nbsp;</div>
<div><br>
</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><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<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>Daniel Lins &lt;<a href="mailto:daniel.lins@gmail.com">daniel.lins@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Wednesday, 9 April 2014 12:07 pm<br>
<span style="font-weight:bold">To: </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">Cc: </span>Nick &lt;<a href="mailto:nick.dosremedios@csiro.au">nick.dosremedios@csiro.au</a>&gt;, Silvio Stanzani &lt;<a href="mailto:silvio.stanzani@gmail.com">silvio.stanzani@gmail.com</a>&gt;, &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>Re: [Ala-portal] internationalization problems<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">Hi Nick,
<div><br>
</div>
<div>
<div>I'm sending the compressed file as requested. I also renamed the file extension from .zip to<span id="52341f3b-5a78-4a72-8ce9-11cb047920f9" class="GINGER_SOFTWARE_mark"> .</span>xxx.&nbsp;</div>
<div><br>
</div>
<div>Let me know if you still have problems.</div>
</div>
<div><br>
</div>
<div>Thank you!<br>
</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Daniel Lins</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">Em 7 de abril de 2014 15:50, Suelane G. Fontes <span dir="ltr">
&lt;<a href="mailto:suelane@uol.com.br" target="_blank">suelane@uol.com.br</a>&gt;</span> escreveu:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>Hi Nick!&nbsp;</div>
<div>&nbsp;</div>
<div>
<div>The problem 1, is solved. The solution that you passed me did suit my needs perfectly!</div>
<div>The problem 4, how you did suggestion ... I am sending the files (recordCoreDiv.jsp and messages_pt_BR.properties) to you to test.</div>
<div>&nbsp;</div>
<div>Thank you!&nbsp;</div>
<div>&nbsp;</div>
<div>Regards.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
</div>
</div>
<hr style="border-top:1px solid #ccc">
<div><br>
<strong>De:</strong> <a href="mailto:Nick.Dosremedios@csiro.au">Nick.Dosremedios@csiro.au</a><br>
<strong>Enviada:</strong> Quarta-feira, 2 de Abril de 2014 05:56<br>
<strong>Para:</strong> <a href="mailto:suelane@uol.com.br" target="_blank">suelane@uol.com.br</a>,<a href="mailto:ala-portal@lists.gbif.org" target="_blank">ala-portal@lists.gbif.org</a><br>
<strong>Assunto:</strong> [Ala-portal] internationalization problems<br>
<br>
</div>
<div class="">
<div style="font-size:14px;font-family:Calibri,sans-serif">Hi Suelane,</div>
<div style="font-size:14px;font-family:Calibri,sans-serif">&nbsp;</div>
<div><span style="font-family: Calibri, sans-serif;">1) I think you are asking about the properties in Figure 1 listed under “Propriedades Adicionais”, is that correct (the fields you mentioned do not appear to be listed in your example - figure 1)?&nbsp;</span></div>
</div>
<div><span style="font-family: Calibri, sans-serif;">I think this can be done by adding the optional parameter
</span><span style="font-family:Consolas">fieldNameIsMsgCode</span><span style="font-family: Calibri, sans-serif;"> to the&nbsp;</span><span style="font-family: Calibri, sans-serif;"> tag and then adding a prefix to the fieldName parameter so that your i18n properties
 are grouped.</span></div>
<div><span style="font-family: Calibri, sans-serif;"><br>
</span></div>
<div>
<div style="font-size:14px"><span style="font-family:Consolas"><span style="font-family:Consolas">&nbsp; &nbsp;</span></span>
<div>&nbsp;</div>
</div>
<div style="font-size:14px"><span style="font-family:Consolas"><span style="font-family:Consolas">&nbsp; &nbsp; &nbsp; &nbsp;</span></span>
<h3>Additional properties</h3>
</div>
<div class="">
<div style="font-size:14px"><span style="font-family:Consolas"><span style="font-family:Consolas">&nbsp; &nbsp; &nbsp; &nbsp;</span></span>
<table>
</table>
</div>
<div style="font-size:14px"><span style="font-family:Consolas">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>
</div>
<div style="font-size:14px"><span style="font-family:Consolas">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>
</div>
<div><span style="font-size:14px;font-family:Consolas">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#ff0000">
<span style="font-size:14px;font-family:Consolas">fieldName=&quot;field.${entry.key}&quot;&nbsp;</span><span style="font-size:14px;font-family:Consolas">fieldNameIsMsgCode</span><span style="font-family:Consolas">=</span><span style="font-family:Consolas">&quot;</span></span><span style="font-family:Consolas"><span style="color:#ff0000">true&quot;</span>&gt;</span><span style="font-size:14px;font-family:Consolas">${entry.value}</span></span></div>
<div style="font-size:14px"><span style="font-family:Consolas">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>
</div>
<div style="font-size:14px"><span style="font-family:Consolas">&nbsp; &nbsp; &nbsp; &nbsp; </span></div>
<div style="font-size:14px"><span style="font-family:Consolas">&nbsp; &nbsp; </span></div>
</div>
</div>
<div style="font-size:14px;font-family:Calibri,sans-serif">&nbsp;</div>
<div class="HOEnZb">
<div class="h5">
<div style="font-size:14px;font-family:Calibri,sans-serif">2) I’m afraid we are planning to remove the “environmental layers” feature, as it is heavily tied to the ALA spatial portal and the layers provided are licensed to ALA only.&nbsp;</div>
<div style="font-size:14px;font-family:Calibri,sans-serif">&nbsp;</div>
<div style="font-size:14px;font-family:Calibri,sans-serif">3) I’m not clear on which fields you could not find in Figure 3. If you are referring to the “regions” section (IBRA, IMCRA and LGA fields), then I would suggest that these be removed as they are specific
 to Australia only.</div>
<div style="font-size:14px;font-family:Calibri,sans-serif">&nbsp;</div>
<div><span style="font-family: Calibri, sans-serif;">4</span>) I’m not sure why the special characters are not displaying correctly. I would check the character encoding for your messages_XX.properties files to make sure they are encoded in UTF-8. If you could
 send me your messages_<span style=""><span style="line-height:16px">pt_BR.proerties file (and one of the JSP files you have changed (e.g showCore.jsp) I could test it here as well.</span></span></div>
<div><span style=""><span style="line-height:16px"><br>
</span></span></div>
<div>Regards</div>
<div>&nbsp;</div>
<div>Nick</div>
<div style="font-size:14px;font-family:Calibri,sans-serif">&nbsp;</div>
<div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">
<span style="font-weight:bold">From: </span>&quot;Suelane G. Fontes&quot; &lt;<a href="http://../../../undefined/compose?to=suelane@uol.com.br" target="_blank">suelane@uol.com.br</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Tuesday, 1 April 2014 4:25 am<br>
<span style="font-weight:bold">To: </span>&quot;<a href="http://../../../undefined/compose?to=ala-portal@lists.gbif.org" target="_blank">ala-portal@lists.gbif.org</a>&quot; &lt;<a href="http://../../../undefined/compose?to=ala-portal@lists.gbif.org" target="_blank">ala-portal@lists.gbif.org</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>&quot;<a href="http://../../../undefined/compose?to=silvio.stanzani@gmail.com" target="_blank">silvio.stanzani@gmail.com</a>&quot; &lt;<a href="http://../../../undefined/compose?to=silvio.stanzani@gmail.com" target="_blank">silvio.stanzani@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>[Ala-portal] internationalization problems</div>
<div>&nbsp;</div>
<div>
<div>
<div>&nbsp;Hi,&nbsp;</div>
<p class="MsoNormal">We are developing the Portuguese version of ALA portal using the internationalization&nbsp;</p>
<p class="MsoNormal">mechanisms provided by ALA.</p>
<p class="MsoNormal">1) We provided translation for the “view register” functionality as shown in figure 1.</p>
<p class="MsoNormal">Most terms were found in “recordCoreDiv.jsp” file, but terms such as Data provider name,&nbsp;</p>
<p class="MsoNormal">Data provider uid, Institution uid And so on, could no be found in that file. Where is the right</p>
<p class="MsoNormal">&nbsp;location to find such terms?</p>
<p class="MsoNormal">2) Where can I find the terms which appears in the combo box “environmental layer”? such combo&nbsp;</p>
<p class="MsoNormal">is shown in figure 2:</p>
<p class="MsoNormal">3) In the advanced research tab there are fields which we could not find, as shown in figure 3.&nbsp;</p>
<p class="MsoNormal">Where should I found such terms?</p>
<p class="MsoNormal">4) After the internationalization process a number of codification errors appeared as shown in&nbsp;</p>
<p class="MsoNormal">figure 4. How can I set the correct codification in ALA Portal in order to properly show the&nbsp;</p>
<p class="MsoNormal">Portuguese characters, such as: ~, ` and ´ .</p>
<p class="MsoNormal">The figures were uploaded as attachments.</p>
<p class="MsoNormal">Thanks.&nbsp;</p>
<p class="MsoNormal">Regards.</p>
<p class="MsoNormal"><span style="font-family: verdana, Helvetica, sans-serif;">_________________________________________________</span></p>
<div style="font-family:verdana,Helvetica,sans-serif">Suelane Garcia Fontes</div>
<div style="font-family:verdana,Helvetica,sans-serif">(Cel) <a href="tel:55%2011%2099514-8170" value="&#43;5511995148170" target="_blank">
55 11 99514-8170</a></div>
<div style="font-family:verdana,Helvetica,sans-serif">Research Center on Biodiversity and Computing (Biocomp)</div>
<div style="font-family:verdana,Helvetica,sans-serif">University of Sao Paulo, Brazil</div>
<div style="font-family:verdana,Helvetica,sans-serif"><a href="http://../../../undefined/compose?to=suelane@uol.com.br" target="_blank">suelane@uol.com.br</a></div>
<div>&nbsp;</div>
<p class="MsoNormal">&nbsp;</p>
<div>&nbsp;</div>
</div>
</div>
<div>&nbsp;</div>
</div>
</div>
<br>
_______________________________________________<br>
Ala-portal mailing list<br>
<a href="mailto:Ala-portal@lists.gbif.org">Ala-portal@lists.gbif.org</a><br>
<a href="http://lists.gbif.org/mailman/listinfo/ala-portal" target="_blank">http://lists.gbif.org/mailman/listinfo/ala-portal</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>Daniel Lins da Silva<br>
(Cel) 11 6144-4050</div>
<div><a href="mailto:daniel.lins@gmail.com" target="_blank">daniel.lins@gmail.com</a><br>
</div>
</div>
</div>
</div>
</span>
</body>
</html>