Package: iso-codes
Version: 4.9.0-1
Severity: minor
Tags: l10n
X-Debbugs-Cc: br...@clisp.org

Dear Maintainer,

2 message catalogs installed in wrong location

The message catalogs iso_639-5.mo for Chinese are installed in
/usr/share/locale/zh_Hans/LC_MESSAGES/iso_639-5.mo
/usr/share/locale/zh_Hant/LC_MESSAGES/iso_639-5.mo
and likewise for the symlinks with '_' instead of '-'.

But the lookup (done by glibc) uses the locale name, which is zh_CN (not 
zh_Hans) and zh_TW (not zh_Hant), respectively. So, currently these files are 
ineffective.

The abbreviations Hans and Hant come from BCP-47, but glibc (and GNU libintl on 
other OSes) does not use BCP-47.

The files should be moved:
/usr/share/locale/zh_Hans/LC_MESSAGES/iso_639-5.mo -> 
/usr/share/locale/zh_CN/LC_MESSAGES/iso_639-5.mo
/usr/share/locale/zh_Hant/LC_MESSAGES/iso_639-5.mo -> 
/usr/share/locale/zh_TW/LC_MESSAGES/iso_639-5.mo
and likewise for the symlinks with '_' instead of '-'.

-- System Information:
Debian Release: bookworm/sid
  APT prefers jammy-updates
  APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy'), 
(100, 'jammy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.0-122-generic (SMP w/12 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

iso-codes depends on no packages.

iso-codes recommends no packages.

Versions of packages iso-codes suggests:
pn  isoquery  <none>

-- no debconf information

Reply via email to