Lintian ReportsBETA

incorrect-locale-code

The package appears to ship locales for a language but uses an incorrect locale code as a subdirectory of /usr/share/locale. This usually results in users of the intended target language not finding the locale. The language codes used in the locale directories are those from the ISO 639-1 and ISO 639-2 standards, not those usually used as TLDs (which are from the ISO 3166 standard).

When both standards define a language code for a given language, the ISO 639-1 code should be used (i.e. the two lettered code).

Lintian only knows about some commonly-mistaken set of incorrect locale codes.

The tag is present in Lintian version 2.114.163. That is the most recent version we know about.

We use semantic versions. The patch number is a commit step indicator relative to the 2.114.0 release tag in our Git repository.

You can find the detection logic for this version at commit fd97859. For merge requests, please use the latest version in the Lintian check files/locales.

Visibility: warning

The following 44 source packages in the archive triggered the tag 45 times (in any Lintian version).

There were no overrides.