[Debian-l10n-devel] Bug#1099564: dl10n: "can't guess language" for "sr_Latn"
Christian Buhtz
c.buhtz at posteo.jp
Wed Mar 5 02:24:24 GMT 2025
Package: dl10n
Version: 3.00+nmu1
Severity: normal
Tags: l10n
Dear Maintainers,
I get the message "gettext: common/po/sr_Latn.po: can't guess language"
regarding "backintime" package.
https://i18n.debian.org/l10n-pkg-status/b/backintime.html
Technical the reason is a regex pattern in the "dl10n-check" script (package
"dl10n").
https://sources.debian.org/src/dl10n/3.00%2Bnmu1/dl10n-check/#L694
It is now clear from any documentation which standard this regex pattern
follows. IMHO "sr_Latn" is a valid language code and works well in this package
using gettext. Also Weblate does offer this code for "Serbian (Latin)".
The message confuse "users" and give the i(IMHO wrong) mpression that something
is wrong with that package.
As upstream maintainer I would be glad to know the standard behind it so I can
follow.
Regards,
Christian
-- System Information:
Debian Release: 12.9
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-31-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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
Versions of packages dl10n depends on:
ii gettext 0.21-12
ii liblocale-gettext-perl 1.07-5
ii libmailtools-perl 2.21-2
ii libtimedate-perl 2.3300-2
ii libwww-perl 6.68-1
ii perl 5.36.0-7+deb12u1
ii perl-modules-5.36 [perl-modules] 5.36.0-7+deb12u1
dl10n recommends no packages.
dl10n suggests no packages.
-- no debconf information
More information about the Debian-l10n-devel
mailing list