[Koha] French (fr-FR) Translator problem

amandeep.kapila at aol.in amandeep.kapila at aol.in
Sun Sep 25 05:03:41 NZDT 2022


Dear all,
I am adding some language to my Koha OPAC and Staff Client. I can add the languages, as desired, with koha-translate package service but unfortunately its not working as expected for French (fr-FR). When I enable French on either of the interfaces the search results display no bibliographic/metadata for the records, only blank spaces, although it returns exact number of results. 
I have tried with both Zebra and Elasticsearch, same result. For other languages (Spanish, Arabic etc.) everything shows OK. Even the Canadian version of French (fr-CA) is also working. Its happening both in OPAC and Staff Client. 
The plack opac error logs display message like below,
[2022/09/22 11:00:56] [WARN] Use of uninitialized value $field in substitution (s///) at /usr/share/koha/lib/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm line 1108.[2022/09/22 11:00:57] [WARN] XSLT::Base: /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:269: parser error : Entity 'nbsp' not defined <span class="label">Ãditeur : </span>                                   ^/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:325: parser error : Entity 'nbsp' not defined <xsl:with-param name="langLabel">Langue : </xsl:with-param>                                              ^/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:376: parser error : Entity 'nbsp' not defined <span class="results_summary series"><span class="label">Collection : </sp                                                                          ^compilation error: file /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACResults.xsl element importxsl:import : unable to load /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl at /usr/share/koha/lib/Koha/XSLT/Base.pm line 342.[2022/09/22 11:00:57] [WARN] XSLT::Base: /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:269: parser error : Entity 'nbsp' not defined <span class="label">Ãditeur : </span>                                   ^/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:325: parser error : Entity 'nbsp' not defined <xsl:with-param name="langLabel">Langue : </xsl:with-param>                                              ^/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:376: parser error : Entity 'nbsp' not defined <span class="results_summary series"><span class="label">Collection : </sp                                                                          ^compilation error: file /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACResults.xsl element importxsl:import : unable to load /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl at /usr/share/koha/lib/Koha/XSLT/Base.pm line 342.[2022/09/22 11:00:57] [WARN] XSLT::Base: /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:269: parser error : Entity 'nbsp' not defined <span class="label">Ãditeur : </span>                                   ^/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:325: parser error : Entity 'nbsp' not defined <xsl:with-param name="langLabel">Langue : </xsl:with-param>                                              ^/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:376: parser error : Entity 'nbsp' not defined <span class="results_summary series"><span class="label">Collection : </sp                                                                          ^compilation error: file /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACResults.xsl element importxsl:import : unable to load /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl at /usr/share/koha/lib/Koha/XSLT/Base.pm line 342.[2022/09/22 11:00:57] [WARN] XSLT::Base: /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:269: parser error : Entity 'nbsp' not defined <span class="label">Ãditeur : </span>                                   ^/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:325: parser error : Entity 'nbsp' not defined <xsl:with-param name="langLabel">Langue : </xsl:with-param>                                              ^/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:376: parser error : Entity 'nbsp' not defined <span class="results_summary series"><span class="label">Collection : </sp                                                                          ^compilation error: file /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACResults.xsl element importxsl:import : unable to load /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl at /usr/share/koha/lib/Koha/XSLT/Base.pm line 342.[2022/09/22 11:00:57] [WARN] XSLT::Base: /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:269: parser error : Entity 'nbsp' not defined <span class="label">Ãditeur : </span>                                   ^/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:325: parser error : Entity 'nbsp' not defined <xsl:with-param name="langLabel">Langue : </xsl:with-param>                                              ^/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:376: parser error : Entity 'nbsp' not defined <span class="results_summary series"><span class="label">Collection : </sp                                                                          ^compilation error: file /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACResults.xsl element importxsl:import : unable to load /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl at /usr/share/koha/lib/Koha/XSLT/Base.pm line 342.[2022/09/22 11:00:57] [WARN] XSLT::Base: /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:269: parser error : Entity 'nbsp' not defined <span class="label">Ãditeur : </span>                                   ^/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:325: parser error : Entity 'nbsp' not defined <xsl:with-param name="langLabel">Langue : </xsl:with-param>                                              ^/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:376: parser error : Entity 'nbsp' not defined <span class="results_summary series"><span class="label">Collection : </sp                                                                          ^compilation error: file /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACResults.xsl element importxsl:import : unable to load /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl at /usr/share/koha/lib/Koha/XSLT/Base.pm line 342.[2022/09/22 11:00:57] [WARN] XSLT::Base: /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:269: parser error : Entity 'nbsp' not defined <span class="label">Ãditeur : </span>                                   ^/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:325: parser error : Entity 'nbsp' not defined <xsl:with-param name="langLabel">Langue : </xsl:with-param>                                              ^/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:376: parser error : Entity 'nbsp' not defined <span class="results_summary series"><span class="label">Collection : </sp                                                                          ^compilation error: file /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACResults.xsl element importxsl:import : unable to load /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl at /usr/share/koha/lib/Koha/XSLT/Base.pm line 342.[2022/09/22 11:00:57] [WARN] XSLT::Base: /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slimUtils.xsl:269: parser error : Entity 'nbsp' not defined <span class="label">Ãditeur : </span>                                   ^.......................................................................................................................................................................................................
Seems like some xslt parser issue.
Kindly help,




More information about the Koha mailing list