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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 24 18:11:52 CEST 2017


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

--- Comment #55 from Julian Maurice <julian.maurice at biblibre.com> ---
(In reply to Marcel de Rooy from comment #53)
> Also do we really need it? Can we use POSIX instead, or do without it,
> construct it some other way ?? Glancing through CPAN, I note: It is not the
> recommended way to set the program locale for a regular application.

When I searched for the recommended way to set the program locale, it appeared
to be with Locale::Util's set_locale. But after playing with this patchset a
little, I noticed some small differences between using a locale that is
installed system-wide and using a locale that is not installed (when set_locale
returns false). So it might be better to not use set_locale or POSIX's
setlocale, and just set the environment variables LANGUAGE, LANG and
OUTPUT_CHARSET (never use the system locale, even if installed)

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


More information about the Koha-bugs mailing list