Bug#464511: detect a fully vaild .po file as non-valid
Patrick Winnertz <winnie@debian.org> writes:
> Am Donnerstag, 7. Februar 2008 20:01:32 schrieben Sie:
>> What we were told was that all language codes are two letters followed
>> possibly by an underscore and two more letters (in capitals). If this
>> isn't true, I'd be happy to change lintian, but I know nothing about
>> this whole area, so I really need some sort of canonical documentation
>> or i18n expert to tell me what to do.
> Mh... should we contact the i18n for this issue?
> According to wikipedia (the german one) nds is the abbrev. for
> the "Niederdeutsche Sprache" or also called "Plattdüütsch" [1].
>
> There is also a niederdeutsche Version of wikipedia [2].
debian-i18n folks:
Currently, the regex used by lintian to validate po file names is:
/^[a-z]{2,2}(_[A-Z]{2,2})?\.po$/
so it expects language codes in the form:
nn
nn_NN
It looks like this is an ISO 639-2 language code. Should lintian be
allowing for those in po file names as well? In other words, should I
also permit:
nnn
nnn_NN
I don't know anything about this area and am happy to follow someone
else's guidance.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: