<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Courier;
panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Arial","sans-serif";
color:blue;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-NZ link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>There are a few traps in using the *.bat files in 4) below. Be sure to read translate_note.txt which is in the ..\translate folder.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>Ben Winnubst<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> isis-users-bounces@iccisis.org [mailto:isis-users-bounces@iccisis.org] <b>On Behalf Of </b>spinaker<br><b>Sent:</b> Thursday, 2 February 2012 8:31 a.m.<br><b>To:</b> Maribel Cuadrado<br><b>Cc:</b> isis-users@iccisis.org<br><b>Subject:</b> Re: [Isis-users] Translation of IAH into other languages<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:36.0pt'>Dear Mabel <br><br>I am sending you the instructions in English on behalf of many of our colleagues that cannot read Spanish<o:p></o:p></p><div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><hr size=2 width="100%" align=center></div><p class=MsoNormal style='margin-left:36.0pt'><b>How to prepare iAH translations</b><br><br>iAH interface v.3.x comes in four languages: en, en, pt, fr<br><br>Enabled languages <span style='font-family:"Cambria Math","serif"'></span>are recorded in the file: <span style='font-size:13.5pt;font-family:Courier'> C:\ABCD\www\htdocs\iah\scripts\iah.def.php</span><br>in the line: <span style='font-size:13.5pt;font-family:"Courier New"'>AVAILABLE LANGUAGES=pt, es, en, fr<br></span><br>The order of the language statement is the order they appear in the interface as enabled <br>and the order (1, 2, 3 ... ) should be indicated as the subfields: ^1 ^2 ...<br>in the file <span style='font-size:13.5pt;font-family:"Courier New"'><BASE>.def </span> found in the directory indicated in the line<br><span style='font-size:13.5pt;font-family:"Courier New"'>PATH_DEF=/ABCD/www/bases/par/ </span> (example for ABCD)<br><br>iAH has a set of 31 structural files for each language with extensions.pft y .htm located in<span style='font-size:13.5pt;font-family:"Courier New"'> C:\ABCD\www\htdocs\iah\scripts\<lang></span><br><br>If you want to add a new language, such as Catalan (indicated by the ISO code CA), you should follow the following steps<br><br>1) Make a new folder for the new language: <span style='font-size:13.5pt;font-family:"Courier New"'>C:\ABCD\www\htdocs\iah\scripts\ca</span><br><br>2) Go to the directory <span style='font-size:13.5pt;font-family:"Courier New"'>C:\ABCD\www\htdocs\iah\scripts\translate</span><br> there you should create a file ca.txt containing the seed texts used to generate the needed new 31 files<br> For that, copy one of the existent files as a modle, for example <b>es.txt</b> <br> <span style='font-size:13.5pt;font-family:"Courier New"'>copy es.txt ca.txt</span><br><br>3) Edit <b>ca.txt</b> with a common editor likle notepad<br><br>This new file has a total of 89 lines, where to the left side of the <b>= </b>sign is the term encoded in English and at the right of <b>= </b>sign has the word or phrase translated into another language. Preserve the terms on the left side, do the translation for the new language on the right side and save the file when you finished<br><br>4) En el directorio ..\translate existen varios archivos .bat del tipo translate2<lang>.bat<br> copie uno de ellos con el nombre correspondiente al nuevo idioma,<br> por ejemplo copy translate2es.bat translate2ca.bat<br><br>4) In the directory <span style='font-size:13.5pt;font-family:"Courier New"'>.. \ translate</span> there are a number of .bat files like <span style='font-size:13.5pt;font-family:"Courier New"'>Translate2<lang>.bat. </span><br> one for each language<br> again, copy one of them, example <b>translate2es.bat </b>with a new name<br> c<span style='font-size:13.5pt;font-family:"Courier New"'>opy translate2es.bat translate2ca.bat<br></span><br>5) Edit this file <b>translate2ca.bat</b><br> and customize the script according to new new language, in this case all references to es should change to ca<br><br> ejemplo:<br><span style='font-size:13.5pt;font-family:"Courier New"'> mx2 seq=ca.txt= "proc='d*a1~{{'v1'}}~a2~'v2'~'" -all now create=to_ca<br> ...<br> for %%i in (*.pft) do mx2 seq=%%i gizmo=to_ca lw=9000 pft=v1# now > c:\ABCD\www\htdocs\iah\scripts\ca\%%i<br> ...<br> etc</span><br>save the file<br><br>6) Now you have all in place to run the translation process, run <b> translate2ca.bat</b><br> when finished you'll find the new 31 strctural files of IAH created in corresponding<br> <span style='font-size:13.5pt;font-family:"Courier New"'>C:\ABCD\www\htdocs\iah\scripts\ca<br></span><br>If you find later, anytime, mistakes or typos, edit the ca.txt file and run again <b>traslate2ca.bat</b> and you will fix the installation<o:p></o:p></p><div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><hr size=2 width="100%" align=center></div><p class=MsoNormal style='margin-left:36.0pt'><br>Regards<br>Ernesto Spinak<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><o:p></o:p></p><pre style='margin-left:36.0pt'>-- <o:p></o:p></pre><pre style='margin-left:36.0pt'> .^. .^.<o:p></o:p></pre><pre style='margin-left:36.0pt'> ( ) ( )<o:p></o:p></pre><pre style='margin-left:36.0pt'> === ===<o:p></o:p></pre><pre style='margin-left:36.0pt'> =[=]================================[=]=<o:p></o:p></pre><pre style='margin-left:36.0pt'> | | Ernesto Spinak | |<o:p></o:p></pre><pre style='margin-left:36.0pt'> | | <a href="mailto:spinaker@adinet.com.uy">spinaker@adinet.com.uy</a> | |<o:p></o:p></pre><pre style='margin-left:36.0pt'> | | Montevideo, Uruguay | |<o:p></o:p></pre><pre style='margin-left:36.0pt'> | | tel/fax (598) 2622-3352 | |<o:p></o:p></pre><pre style='margin-left:36.0pt'> | | celular (598) 99612238 | |<o:p></o:p></pre><pre style='margin-left:36.0pt'> =[=]================================[=]=<o:p></o:p></pre><pre style='margin-left:36.0pt'> === ===<o:p></o:p></pre><pre style='margin-left:36.0pt'> ( ) ( )<o:p></o:p></pre><pre style='margin-left:36.0pt'> V V <o:p></o:p></pre></div></body></html>