Re: [Koha-translate] Copy of fr-FR into fr-CA
__ <http://www.facebook.com/libeocom>Hi,
It's not an issue. Files renaming has been done at 3.6 release. It will be reported to Pootle at next strings freeze. The problem I was pointing at is that the file should be fr-CA, not fr-FR ( see http://translate.koha-community.org/fr_CA/36/ )
Could you give some example? The whole fr-CA-i-staff-t-prog-v-3006000.po file has the wrong line endings when downloaded from Pootle. example : $ file fr-FR-i-opac-t-prog-v-3006000.po fr-FR-i-opac-t-prog-v-3006000.po: UTF-8 Unicode PO (gettext message catalogue) text $ file fr-CA-i-staff-t-prog-v-3006000.po fr-CA-i-staff-t-prog-v-3006000.po: UTF-8 Unicode PO (gettext message catalogue) text, with CRLF, LF line terminators
I don't see any issue on fr-FR translation files. The problem occurs when XSLTDetailsDisplay is set to use XSLT and the fr-FR or fr-CA languages are used. If I then go see the details of a biblio record in the intranet, I get many of those errors :
/home/koha/kohagit/koha-tmpl/intranet-tmpl/prog/fr-FR/xslt/MARC21slim2intranetDetail.xsl:132: parser error : Entity 'nbsp' not defined <span class="results_summary type"><span class="label">Type :</span> ^ /home/koha/kohagit/koha-tmpl/intranet-tmpl/prog/fr-FR/xslt/MARC21slim2intranetDetail.xsl:145: parser error : Entity 'nbsp' not defined <xsl:with-param name="label">Collection :</xsl:with-param> ^ I'll try to send our corrected files to pootle without overwriting the existing files. If it doesn't work, can I overwrite the previous fr-CA-i-staff-t-prog-v-3006000.po file with a new one with correct line endings and without the that create XSLT errors? Thanks. Frédérick Capovilla - Libéo
I don't see any issue on fr-FR translation files. The problem occurs when XSLTDetailsDisplay is set to use XSLT and the fr-FR or fr-CA languages are used. If I then go see the details of a biblio record in the intranet, I get many of those errors : /home/koha/kohagit/koha-tmpl/intranet-tmpl/prog/fr-FR/xslt/MARC21slim2intranetDetail.xsl:132: parser error : Entity 'nbsp' not defined <span class="results_summary type"><span class="label">Type :</span> ^ /home/koha/kohagit/koha-tmpl/intranet-tmpl/prog/fr-FR/xslt/MARC21slim2intranetDetail.xsl:145: parser error : Entity 'nbsp' not defined <xsl:with-param name="label">Collection :</xsl:with-param> ^ I think I know why the problem went unnoticed : The problem only happens with the MARC21 XSL files. I'm guessing most peoples using fr-FR use UNIMARC, so nobody noticed the problem.
Frédérick Capovilla - Libéo
parser error : Entity 'nbsp' not defined <span class="results_summary type"><span class="label">Type :</span>
I think I know why the problem went unnoticed : The problem only happens with the MARC21 XSL files. I'm guessing most peoples using fr-FR use UNIMARC, so nobody noticed the problem.
So the problem is not in .po files but in the MARC21 intranet XSL itself. This line is required at the beginning of MARC21slim2intranetDetail.xsl: <!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> Could you file a bug and submit a patch? If you can't, I will do it. Thanks. -- Frédéric DEMIANS http://www.tamil.fr/u/fdemians.html
So the problem is not in .po files but in the MARC21 intranet XSL itself. This line is required at the beginning of MARC21slim2intranetDetail.xsl:
<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]>
Could you file a bug and submit a patch? If you can't, I will do it.
Thanks.
I added this line and it seems to work. I created a patch and sent it there : http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7141 Thanks. Frédérick Capovilla - Libéo
The whole fr-CA-i-staff-t-prog-v-3006000.po file has the wrong line endings when downloaded from Pootle.
I have no idea where it comes from.
If it doesn't work, can I overwrite the previous fr-CA-i-staff-t-prog-v-3006000.po file with a new one with correct line endings and without the that create XSLT errors?
You MUST overwrite. The merging doesn't work with staff .po files. Those files are far too large for Pootle who can't handle merging properly. You have to coordinate directly with Eric Bégin. -- Frédéric DEMIANS http://www.tamil.fr/u/fdemians.html
The whole fr-CA-i-staff-t-prog-v-3006000.po file has the wrong line endings when downloaded from Pootle.
I have no idea where it comes from.
If it doesn't work, can I overwrite the previous fr-CA-i-staff-t-prog-v-3006000.po file with a new one with correct line endings and without the that create XSLT errors?
You MUST overwrite. The merging doesn't work with staff .po files. Those files are far too large for Pootle who can't handle merging properly.
You have to coordinate directly with Eric Bégin.
I communicated with Eric Bégin and got his authorisation to upload the new files. The line endings and filename problems are now fixed in the fr-CA files. Thanks. Frédérick Capovilla - Libéo
participants (2)
-
Frederick Capovilla -
Frédéric Demians