[Koha-devel] about tranlsating value_builder

long_sam.tw long_sam.tw at yahoo.com.tw
Wed May 31 12:09:52 CEST 2006


Hi,all

if you wanted to translate value_builder to utf-8
(abut CJK language),you would modify
/cgi-bin/value_builder/*.pl.

You should setup CGI header's charset => utf-8.

ex if you wanted to translate unimar_leader.tmpl,
you should modify  intranet/cgi-bin/value_builder/
unimarc_leader.pl

line 102
print $input->header(-charset =>'utf-8', -cookie =>
$cookie),$template->output;
}

setup -charset =>'utf-8',then you can translate
unimarc_leader.tmpl.

but i use original unimarc_leader.tmpl,then tested 
more times.it's not ok. finally,i open new
unimarc_leader.tmpl files,then copy and paste.
it is ok.

Note:if you would not set header charset,default
vaules were iso-8859-1.

snapshot
http://www.flickr.com/photo_zoom.gne?id=155172742&size=o


laxendion   




___________________________________________________  最新版 Yahoo!奇摩即時通訊 7.0,免費網路電話任你打!  http://messenger.yahoo.com.tw/





More information about the Koha-devel mailing list