https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42320 Bug ID: 42320 Summary: Error in po files (plural form) Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: I18N/L10N Assignee: koha-bugs@lists.koha-community.org Reporter: marion.durand@biblibre.com QA Contact: testopia@bugs.koha-community.org CC: f.demians@tamil.fr, jonathan.druart@gmail.com Some po files (xx-messages-js.po) have a faulty line at the start : Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n (for example Japanese (ja-Jpan-JP) and Korean (ko-Kore-KP)) It generates errors during the update/installation of translation for these languages The error look like this : ``` ERROR parsing plural forms header [nplurals=INTEGER; plural=EXPRESSION;] ``` The language is still available in the OPAC and staff interface after the translation and I couldn't find a bug on the interface (I didn't search very long), but it might be a problem for some translation if filled : ``` #: koha-tmpl/intranet-tmpl/prog/js/checkouts.js:1628 msgid "Show 1 unresolved claim" msgid_plural "Show {count} unresolved claims" msgstr[0] "" msgstr[1] "" ``` Should we add default values (even if it might not be specific for that language) ? "Plural-Forms: nplurals=2; plural=n != 1;\n" (source en-GB) or "Plural-Forms: nplurals=2; plural=n > 1;\n" (source fr-FR) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.