On 9 April 2010 00:16, Christian PERRIER <bubu...@debian.org> wrote:
> Jumping in that thread (you would have guessed I would, right? :-))
>

:-)

> There are even some locales that correspond to *no* ISO-639-3 code
> /usr/share/i18n/locales/ber_DZ: Berber (Algeria)
> /usr/share/i18n/locales/ber_MA: Berber (Morocco)

(for lintian's current purposes, the country code is ignored; FWIW)

> Maybe, if possible, check that a locale exists for the said language.
>
> We can quite safely assume that, if a locale exists with a given
> ISO-639-3 code, then it has been carefully though by glibc maintainers
> (either upstream or Debian/Ubuntu maintainers).

I considered using /usr/share/i18n/SUPPORTED as the source of
information but it is far from being complete.

> So, maybe lintian could check that, if foo_BAR.po file exists in a
> package, there is at least one foo_* file in /usr/share/i18n/locales

Am I missing something or wouldn't adding the 639-3 codes to the list
of known and valid codes be enough?

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net


-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/y2he9fb436d1004082325m81f94ec3qf0a5d78f65bc6...@mail.gmail.com

Reply via email to