[Koha-bugs] [Bug 15395] Internationalization: plural forms, context, and more

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 23 18:43:05 CEST 2018


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

--- Comment #97 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Also I should note that I had to amend the code, the tests were failing

     #   Failed test 'use Koha::I18N;'
     #   at t/Koha/I18N.t line 10.
     #     Tried to use 'Koha::I18N'.
     #     Error:  "setlocale" is not exported by the Locale::Messages module

I did, in Koha/I18N.pm
-use Locale::Messages qw(:locale_h nl_putenv setlocale LC_MESSAGES);
+use Locale::Messages qw(:locale_h nl_putenv LC_MESSAGES);
+use POSIX qw (setlocale);

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


More information about the Koha-bugs mailing list