Evelio Martínez a écrit :
> Hello all!
>   
hi,
>  
> I have a question concerning translation of strings .
>  
> We have customized the koha intranet templates in english and now are trying 
> to translate it to spanish.
> The aim is to reuse strings already translated by others and add or change 
> some other.
>  
> We have used the following commands:
>  
> 1) ./tmpl_process3.pl install -r -i 
> /www/koha/usr_share_koha/intranet/htdocs/intranet-tmpl/prog/en -o 
> /www/koha/usr_share_koha/intranet/htdocs/intranet-tmpl/prog/es -s 
> po/es-ES-i-staff-t-prog-v-3000000.po
>
> 2) ./tmpl_process3.pl update -i 
> /www/koha/usr_share_koha/intranet/htdocs/intranet-tmpl/prog/en/ -s 
> po/es-ES-i-staff-t-prog-v-3000000.po -r
>
> The install and update commands seems to be successful
>  
> I suppose that tmpl_process3.pl can merge an old translated file like 
> po/es-ES-i-staff-t-prog-v-3000000.po and merge it with the new english 
> template.
>  
> is it correct?
>   
should be.
> I am not sure because some lines of the new spanish template are been taken 
> and some not.
>  
> is this normal?
>   
No
>  
> The string "New Preference" in line 234 has not been changed to "Establecer 
> Preferencias"
>
> #: 
> /www/koha/usr_share_koha/intranet/htdocs/intranet-tmpl/prog/es/modules/admin/systempreferences.tmpl:234
> #, fuzzy
> msgid "New Preference"
> msgstr "Establecer Preferencias"
>
>
> <li><a id="newstopword" href="<!-- TMPL_VAR NAME="script_name" 
> -->?op=add_form">New Preference</a></li>
> </ul></div>
>
> but the string "System Preferences &rsaquo; Data Added" it has been changed.
>
>
> #: 
> /www/koha/usr_share_koha/intranet/htdocs/intranet-tmpl/prog/es/modules/admin/systempreferences.tmpl:2
> #, fuzzy
> msgid "System Preferences &rsaquo; Data Added"
> msgstr "Administraci&oacute;n de Preferencias del Sistema"
>
>
> <title>Intranet BBVA Infoblue &rsaquo; Administration &rsaquo; <!-- TMPL_IF 
> name="add_form" --> System Preferences &rsaquo; <!-- TMPL_IF NAME="modify" 
> -->Modify system preference '<!-- TMPL_VAR NAME="searchfield" -->'<!-- 
> TMPL_ELSE -->A&ntilde;adir una preferencia del sistema<!-- /TMPL_IF --><!-- 
> /TMPL_IF --><!-- TMPL_IF name="add_validate" --> System Preferences &rsaquo; 
> Data Added<!-- /TMPL_IF -->
>
> Any help will be appreciated
> Thanks in advance
afaict, you have fuzzy in your po file.
I think this should be solved in order to make translation work.

Hope that helps.
-- 
Henri-Damien LAURENT
_______________________________________________
Koha-devel mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-devel

Reply via email to