[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Bug 233674] kipi-plugins: unknown-locale-code hne i8n



> > 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?


Actually, if a locale doesn't exist in the glibc, translations for
that locale won't be used, so checking against
/usr/share/i18n/SUPPORTED seems to be the right thing to do.


I'm not sure, though, that it is really a good idea to check PO files
against supported locales, for "upstream" translations (ie non-debconf
ones) with lintian. The only case where it's relevant to lintian,
imho, is the case where the package is native (so "upstream" is
Debian).


Attachment: signature.asc
Description: Digital signature


Reply to: