[DRE-maint] Bug#690572: localization takes $LANG into account, but ignores $LC_MESSAGES

Jérémy Bobbio lunar at debian.org
Tue Sep 3 20:32:17 UTC 2013


Hleb Valoshka:
> > The bug really lies in ruby-gettext which does not currently parse
> > LC_MESSAGES at all. It should, just like GNU gettext.
> 
> Are you sure? GNU gettext uses LC_MESSAGES only indirectly, calling
> _nl_locale_name (see intl/dcigettext.c), but it never checks its value by
> itself.
> 
> [Now I understand that my «fix» for #520181 which introduced this bug was
> incorrect (and what even worse it's integrated by upstream now).]
> 
> But as I said above the real problem is in ruby-locale because the latter does
> not distinguish between «language» and «locale», (may be) because its aim to be
> the GCD for the 4 different plaform, and, at least, in web there no difference
> between «language» and «locale». So to properly fix this (and #520181) we (or
> ruby-gettext/locale upstream team) should 1) change ruby-locale to better
> reflect POSIX locale; 2) patch ruby-gettet to use new ruby-locale's API.
> 
> It seams to me that p.1 will cause a great breakage of ruby-locale internals.

You seam to have better knowledge than me about the issues. I trust you
on the correct path to fix this.

> (Jérémy, please, if you forward bugs to upstream report them to github
> https://github.com/ruby-gettext/locale/issues not to Kou's mail)

I don't have a Github account. I'd rather not have to create one. :(
But yes, now that gettext has a canonical home, it's probably a better
place.

-- 
Lunar                                .''`. 
lunar at debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20130903/292c6750/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list