OPAC Normal view is working as expected in English (or German, if that matters), but if I switch to French (fr-CA or fr-FR) it is just not displayed (MARC or ISBD work fine, though) I have obviously tried any option I could think of with koha-translate (update, uninstall / reinstall, etc) This is on a Debian 9 with Koha 20.05.02-1 (but the problem was already here in 19.11). Since the upgrade didn't sort the problem, I decided to report a bug. As far as I can track it (which is not very far and may be completely off) the XSLTBloc on /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-CA/modules/opac-detail.tt line 131 returns nothing: [% IF ( OPACXSLTDetailsDisplay ) %] [% XSLTBloc | $raw %] [% ELSE %] I am happy to test patches or give further details if required. Thanks for Koha, which is such a useful tool!!!!
Katrin pointed to the character in .po files. After testing, I found that this was exactly the problem. To correct it on your installation (commands may vary, I use a "vintage" installation style) 1- Open the file fr-CA-marc-MARC21.po in a text editor and search and replace all instances of and replace them by a regular space character, save 2- translate install fr-CA 3- Ctrl+F5 in your browser Should do the trick. I will correct the .po files on Pootle for new installations.
fr-CA-marc-MARC21.po is corrected in the Koha 20.05 project on Pootle. I'm not sure if there's anything else I should do...
Caroline, the problem should be fixed for 19.11.x too apparently, and maybe 19.05 (needs to be confirmed).
Hi Jonathan, I did the same corrections on Pootle for 19.11, 19.05 and 18.11. Caroline
Great, thanks!
Indeed, manually editing fr-CA-marc-MARC21.po and doing a koha-translate -u fr-CA did the trick. Thanks everyone for your help!
Katrin or Jonathan, do you know if is a problem also in other .po? I only corrected fr-CA-MARC-marc21.po, but I'm wondering if I should remove all instances in all files...
(In reply to Caroline Cyr La Rose from comment #7) > Katrin or Jonathan, do you know if is a problem also in other .po? I > only corrected fr-CA-MARC-marc21.po, but I'm wondering if I should remove > all instances in all files... I believe it's a problem for the ones that are used to generate strings in XML files. This shoudl be the UNIMARC po file only. But I haven't tested it out explicitly.
afaik, UNIMARC is not used here. So unless someone complains, I won't spend time on that file :)
(In reply to Caroline Cyr La Rose from comment #9) > afaik, UNIMARC is not used here. So unless someone complains, I won't spend > time on that file :) Oops. Sorry, MARC21 and NORMARC would have the same problem :(
(In reply to Katrin Fischer from comment #10) > (In reply to Caroline Cyr La Rose from comment #9) > > afaik, UNIMARC is not used here. So unless someone complains, I won't spend > > time on that file :) > > Oops. Sorry, MARC21 and NORMARC would have the same problem :( Same. :) afaik, only MARC21 is used here in Canada. So I'll leave it like that and correct it if someone complains.