[Koha-bugs] [Bug 15395] Allow correct handling of plural translation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 5 22:14:44 CEST 2017


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

--- Comment #22 from Marc Véron <veron at veron.ch> ---
I tried to test  "Example usage of I18N Template::Toolkit plugin" , using the
test plan from comment #7

After perl translate update fr-FR, I edited: 
koha/misc/translator/po/fr_FR/LC_MESSAGES/Koha.po
translated the strings and changed the line:
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
to:
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

However, perl translate install fr-FR complains with following warnings:

Use of uninitialized value $pref_name in concatenation (.) or string at
LangInstaller.pm line 202.
Use of uninitialized value $pref_name in concatenation (.) or string at
LangInstaller.pm line 244.
NO PLURAL FORM HEADER FOUND - DEFAULTING TO 2
print() on closed filehandle $fh at LangInstaller.pm line 689.

What did I miss?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list