[Isis-users] Traducción de IAH a otros idiomas
spinaker
spinaker at adinet.com.uy
Tue Feb 7 18:48:26 CET 2012
Maribel
Ok, we are finding out what our colleague Ben from New Zealand sent a
warning last week
The translation could fail if there are some "strange" characters in the
source message text,
as you say there are some special Catalan characters that cause the problem
I'd reccommed to copy to the folder /ca your catalan files one by one
until you get the problematic file
regards
Ernesto Spinak
El 07/02/2012 12:43, Maribel Cuadrado escribió:
> Hola Ernesto,
>
> Tu propuesta no ha funcionado.
> De todas formas creo que he localizado la clave del problema.
>
> He copiado todos los archivos traducidos al catalán en una carpeta de
> seguridad <old>.
> Dentro de la carpeta \IAH\Scripts\CA\ he copiado los antiguos mensajes
> de francés.
> Llamo a la aplicación desde la URL:
>
> http://localhost:9090/cgi-bin/wxis.exe/iah/scripts/?IsisScript=iah.xis&lang=*ca*&base=*PROVA*
>
> El programa funciona y me muestra los mensajes que hay dentro de
> \IAH\Scripts\CA\
>
> Por lo tanto, el problema está en la traducción de los archivos *.htm
> y *.pft al catalán. He pensado que quizás sea el uso del caracter de
> apóstrofe (' ) que se usa a menudo en catalán ( "Índex d'autors") y
> que quizás puede entrar en conflicto con las instrucciones de la
> script que también lo utiliza.
> Voy a probar sustituirlo por el "´" y ya os diré si funciona.
>
> Muchas gracias por tu interés.
>
> Maribel Cuadrado
>
>
>
>
> Al 06/02/2012 22:02, En/na spinaker ha escrit:
>> Maribel
>>
>> I see your problem, and this is our fault, those INDEX.htm files are
>> obsolete, there were copied from the v.2.6 of IAH and were not updated
>> in the first place they call to a javascript function which is not
>> anymore there
>> function startIAH(base){
>> var
>> aux="/cgi-bin/wxis.exe/iah/scripts/?IsisScript=iah.xis&lang=en&base="
>> + base;
>> this.location=aux;
>> }
>> My recommendation is the following
>> Open the database in any language it works, for example Spanish
>> then in the URL of your browser modify the language code, if it works
>> you are there!!!
>>
>> This is in my notebook the URL to the base BIBLO
>>
>>
>> IF this works, then copy the correct URL and paste in the INDEX.htm
>> or any place you want
>>
>> Ernesto Spinak
>>
>>
>>
>> El 06/02/2012 9:21, Maribel Cuadrado escribió:
>>>
>>> Ernesto,
>>> En mi iah.def.php están definidas las lenguas disponibles:
>>>
>>> <?php
>>> [PATH]
>>>
>>> PATH_DATA=/iah/
>>> PATH_CGI-BIN=/ABCD/www/htdocs/iah/scripts/
>>> PATH_DATABASE=/ABCD/www/bases/
>>> PATH_DEF=/ABCD/www/bases/par/
>>>
>>> [APPEARANCE]
>>>
>>> /* Please adjust /css/stylesheet.css */
>>>
>>> [HEADER]
>>>
>>> LOGO IMAGE=logoabcd.jpg
>>> LOGO
>>> URL=^1/site/php/index.php^2/site/php/index.php^3/site/php/index.php^4/site/php/index.php
>>> HEADER IMAGE=online.gif
>>> HEADER
>>> URL=^1/iah/pt/index.htm^2/iah/es/index.htm^3/iah/en/index.htm^4/iah/ca/index.htm
>>>
>>> [IAH]
>>>
>>> MANAGER E-MAIL=ia at hmy-server.domain
>>> REVERSE MODE=ON
>>> MULTI-LANGUAGE=ON
>>> AVAILABLE LANGUAGES=pt, es, en, ca
>>> ?>
>>>
>>> También tengo creada la carpeta \htdocs\iah\ca con los directorios
>>> \help y \image
>>>
>>> En el archivo \ABCD\WWW\HTDOCS\IAH\CA\*INDEX.HTM*:
>>>
>>> Si modifico el valor de lang en la siguiente línea, funciona bien
>>> con todos los idiomas (lang=es, lang=en,lang=pt) excepto con lang=ca
>>> que sigue mostrando el mensaje de error ya descrito.
>>> var
>>> aux="/cgi-bin/wxis.exe/iah/scripts/?IsisScript=iah.xis&lang=*ca*&base="
>>> + base;
>>>
>>> Quizás se ha de modificar algún valor en la script iah.xis?
>>>
>>>
>>> Maribel
>>> Universitat Autònoma de Barcelona
>>>
>>>
>>>
>>>
>>> Al 03/02/2012 14:42, En/na spinaker ha escrit:
>>>> Maribel
>>>>
>>>>
>>>> *iAH.def.php * should include at the bottom a line like
>>>> AVAILABLE LANGUAGES=pt, es, en, ca
>>>>
>>>> Therefore you assigned Catalan as the fourht language, then ^4
>>>> references to that language and ^1 to Portuguess
>>>> So, in the INDEX section, all ^1<label> should be Portugese labels
>>>> (This si not your problem but this is not correct)
>>>> If you look to the structure of iAH folder
>>>> /htdocs/iah/css
>>>> *ca this folder is missing which includes /help and /ima*
>>>> en
>>>> es
>>>> fr
>>>> ...
>>>> pt
>>>> scripts/en
>>>> ca
>>>> fr
>>>> module
>>>> pt
>>>> translate
>>>>
>>>> I am not sure if there is other pieces missing
>>>> But this for sure
>>>> Keep trying, your experience is very important for other colleagues
>>>>
>>>> Ernesto
>>>>
>>>>
>>>>
>>>>
>>>> El 03/02/2012 11:27, Maribel Cuadrado escribió:
>>>>>
>>>>> Hola,
>>>>>
>>>>> He realizado la traducción de IAH al catalán, siguiendo los pasos
>>>>> indicados por Ernesto Spinak, y en principio todo ha funcionado
>>>>> bién. Las scripts y textos se ha traducido correctamente.
>>>>> He creado las carpetas CA correspondientes
>>>>> (C:\ABCD\www\htdocs\iah\scripts\ca y C:\ABCD\www\htdocs\iah\ca\)
>>>>>
>>>>> He modificado el iah.def.php (sustituyendo el francés, fr, por el
>>>>> catalán, ca); el archivo *.def de mi base de datos:
>>>>> FILE DATABASE.*=%path_database%prova/data/prova.*
>>>>> FILE DATABASE.XML=%path_database%prova/pfts/lilXML.pft
>>>>> FILE standard.pft=%path_database%prova/pfts/%lang%/curt.pft
>>>>> FILE detail.pft=%path_database%prova/pfts/%lang%/llarg.pft
>>>>> [INDEX_DEFINITION]
>>>>> INDEX TP=^1Paraules^2Palabras^3Words^4Paraules^d*^xTP
>>>>> ^uTP_^yDATABASE^mTP_
>>>>> INDEX AU=^1Autor^2Autor^3Author^4Autor^xAU ^uAU_^yDATABASE^mAU_
>>>>> INDEX TI=^1Paraules del títol^2Palabras del título^3Title
>>>>> words^45Paraules del títol^xTI ^uTI_^yDATABASE^mTI_
>>>>> INDEX MA=^1Matèries^2Materias^3Subjects^4Matèries^xMA
>>>>> ^uMA_^yDATABASE^mMA_
>>>>> INDEX GE=^1Geogràfic^2Geográfico^3Geography^4Geogràfic^xGE
>>>>> ^uGE_^yDATABASE^mGE_
>>>>> INDEX RV=^1Revistes buidades^2Revistas vaciadas^3Journal^4Revistes
>>>>> buidades^xRV ^uRV_^yDATABASE^mRV_
>>>>> INDEX CC=^1Col·lecció^2Colección^3Series^4Col·lecció^xCC
>>>>> ^uCC_^yDATABASE^mCC_
>>>>>
>>>>>
>>>>> He modificado el header.pft y el header_close.pft para poder
>>>>> seleccionar el nuevo idioma desde el índex.htm de las diferentes
>>>>> carpetas (EN,ES,PT,CA)
>>>>>
>>>>> if v9021 <> v5021[1] then,
>>>>> '<a
>>>>> href="'getenv('SCRIPT_NAME')v5000^d[1],'scripts/?IsisScript=',v5000^s[1],'&base=',v5003[1],'&lang=',v9021,'&form=',v6000[1],
>>>>> if v9021 = 'pt' then
>>>>> 'português' fi,
>>>>> if v9021 = 'es' then 'español' fi,
>>>>> if v9021 = 'en' then 'english' fi,
>>>>> if v9021 = 'ca' then 'català' fi,
>>>>> '</a>',
>>>>> Pero tengo un problema:
>>>>> Puedo acceder al IAH\CA\index.htm pero al acceder a la consulta de
>>>>> la base de datos, me sigue direccionando a las páginas es español
>>>>> (http://localhost:9090/cgi-bin/wxis.exe/iah/scripts/?IsisScript=iah.xis&lang=es&base=PROVA)
>>>>> Si modifico "es" por "ca", me sale el siguiente mensaje:
>>>>>
>>>>> Mensaje de error
>>>>>
>>>>> He revisado lang.tab, iah_conf.tab, index.php pero no se ha
>>>>> solucionado.
>>>>>
>>>>> Seguro que es un problema de rutas, pero no se que fichero he de
>>>>> modificar.
>>>>>
>>>>> Maribel Cuadrado,
>>>>> Universitat Autònoma de Barcelona
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> isis-users mailing list
>>>>> isis-users at iccisis.org
>>>>> To manage your own subscription options go to:http://lists.iccisis.org/listinfo/isis-users
>>>>> Or contact Henk Rutten:hlrutten at xs4all.nl
>>>>
>>>>
>>>> --
>>>> .^. .^.
>>>> ( ) ( )
>>>> === ===
>>>> =[=]================================[=]=
>>>> | | Ernesto Spinak | |
>>>> | |spinaker at adinet.com.uy | |
>>>> | | Montevideo, Uruguay | |
>>>> | | tel/fax (598) 2622-3352 | |
>>>> | | celular (598) 99612238 | |
>>>> =[=]================================[=]=
>>>> === ===
>>>> ( ) ( )
>>>> V V
>>>>
>>>>
>>>> _______________________________________________
>>>> isis-users mailing list
>>>> isis-users at iccisis.org
>>>> To manage your own subscription options go to:http://lists.iccisis.org/listinfo/isis-users
>>>> Or contact Henk Rutten:hlrutten at xs4all.nl
>>>
>>>
>>>
>>> _______________________________________________
>>> isis-users mailing list
>>> isis-users at iccisis.org
>>> To manage your own subscription options go to:http://lists.iccisis.org/listinfo/isis-users
>>> Or contact Henk Rutten:hlrutten at xs4all.nl
>>
>>
>> --
>> .^. .^.
>> ( ) ( )
>> === ===
>> =[=]================================[=]=
>> | | Ernesto Spinak | |
>> | |spinaker at adinet.com.uy | |
>> | | Montevideo, Uruguay | |
>> | | tel/fax (598) 2622-3352 | |
>> | | celular (598) 99612238 | |
>> =[=]================================[=]=
>> === ===
>> ( ) ( )
>> V V
>>
>>
>> _______________________________________________
>> isis-users mailing list
>> isis-users at iccisis.org
>> To manage your own subscription options go to:http://lists.iccisis.org/listinfo/isis-users
>> Or contact Henk Rutten:hlrutten at xs4all.nl
>
>
>
> _______________________________________________
> isis-users mailing list
> isis-users at iccisis.org
> To manage your own subscription options go to: http://lists.iccisis.org/listinfo/isis-users
> Or contact Henk Rutten: hlrutten at xs4all.nl
--
.^. .^.
( ) ( )
=== ===
=[=]================================[=]=
| | Ernesto Spinak | |
| | spinaker at adinet.com.uy | |
| | Montevideo, Uruguay | |
| | tel/fax (598) 2622-3352 | |
| | celular (598) 99612238 | |
=[=]================================[=]=
=== ===
( ) ( )
V V
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20120207/d6325eae/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 12293 bytes
Desc: not available
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20120207/d6325eae/attachment.jpe>
More information about the isis-users
mailing list