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

Bug#464511: detect a fully vaild .po file as non-valid



Russ Allbery wrote:
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

Yes. There are languages that do not have a 639-2 iso code, but have a 693-3 iso code (example Creoles and pidgins, French-based)

    nnn_NN

Probably not as in most cases those languages in the ones above (no 639-2 code) are spoken only in some specific regions (although, Romany/tsigane comes to mind - code rom - do not confuse with Romanian)

I don't know anything about this area and am happy to follow someone
else's guidance.

Wormux has a cpf translation.

--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein




Reply to: