Re: [Bug 233674] kipi-plugins: unknown-locale-code hne i8n
On 9 April 2010 00:16, Christian PERRIER <bubulle@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
Reply to: