Replace usage of non-portable `uselocale` with locale-dependent functions
When the OS doesn't support uselocale
(ex. NetBSD), the function
is replaced with a dummy stub.
Replace nl_langinfo
with portable nl_langinfo_l
.
Introduce locale-dependent *gettext_l
functions.
Edited by Dan Cîrnaț