Russ Allbery <r...@debian.org> writes:
> Fabio Fantoni <fantonifa...@tiscali.it> writes:

>> Hi, on a lintian output I saw:

>> W: xapps-common: unknown-locale-code ber [usr/share/locale/ber/]

>> but ber locale exists:
>> https://www.loc.gov/standards/iso639-2/php/langcodes_name.php?code_ID=54

> Thanks for the report!  Lintian gets the canonical list of locales from
> the iso-codes package, and if I'm reading the last modification times from
> its Salsa repository correctly, it may have been a bit since it was
> updated.

> I'm reassigning this bug to iso-codes for further investigation and cc'ing
> the maintainer.

Hm, sorry about the self-follow-up.  I looked at this a bit further, and
now I think this may be intentional.  I believe ber refers to a language
*group* rather than a single language, and thus is an ISO 639-5 code but
not an ISO 639-3 code.

Lintian specifically uses ISO 639-3 to get a list of known locale
identifiers.

Do you know if an ISO 639-5 locale works properly on a Debian system, in
the sense that it can be used for translations and the other normal locale
things?  ber seems to be the code for the Berber *family* of languages,
which has multiple members that have their own ISO 639-3 codes.  I'm not
sure that locale information for the entire family, as opposed to
individual members of that family, makes sense.

-- 
Russ Allbery (r...@debian.org)              <https://www.eyrie.org/~eagle/>

Reply via email to