[Koha-bugs] [Bug 27623] Remove pl-PL installer data

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 5 14:24:51 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27623

--- Comment #17 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
I'm still unable to test this even after bug 28281 because
misc/translator/LangInstaller.pm / ./translate script double *encodes* the
output of
installer/data/mysql/pl-PL/marcflavour/marc21/mandatory/authorities_normal_marc21.yml

I tried to now change it like this:

-                    open(my $fh, ">:encoding(UTF-8)",
"$intradir/$tdir/$file");
-                    YAML::XS::DumpFile( $fh, $translated_yaml );
-                    close($fh);

but that still produces broken UTF-8 in the file:

installer/data/mysql/pl-PL/marcflavour/marc21/mandatory/authorities_normal_marc21.yml


NOTE: Please be careful and remember to use "git clean -d -f" and git reset
--hard HEAD before testing this bug. Otherwise the ./translate script doesn't
update the translation files.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list