[Koha] i18n of .pl scripts

Benedykt P. Barszcz kb2qzv at box43.gnet.pl
Thu Sep 7 23:35:52 NZST 2000


Hi all,
I would like to know whether it is neccesary to add gettext() function 
in line like this:
#
print $input->header;
#

Secondly where if anywhere should one insert gettext() function in 
this example:
print <<printend
<FONT SIZE=6><em>Account for $data->{'firstname'} $data->{'surname'}</em></FONT><P>
<center>
<p>
<TABLE  CELLSPACING=0  CELLPADDING=5 border=1 >
<TR VALIGN=TOP>
<td  bgcolor="99cc33" background="/images/background-mem.gif" 
colspan=2><B>FINES & CHARGES</TD>
[....]
printend

Is "FINES & CHARGES" subject to localization by gettext() or is it 
part of the HTML Code and cannot be localized here?

Also should $data->{'firstname'} change into $data-
>{gettext('firstname')} in the obove example?

How about the formatting strings of type: "<br>" and other html code 
strings, are they to fall within or outside of the gettext() function?

Any help will be appreciated.
May be a bunch of examples?
-, pozdrawiam
Benedykt P. Barszcz


------------------------------------------------------
Miss Internetu: "Poznaj mnie! Obróæ mnie! Wygraj mnie"
          http://miss.onet.pl/
------------------------------------------------------






More information about the Koha mailing list