Public bug reported: I switched my KDE system language from English to fr_FR.UTF-8 to practice Canadian bilingualism. After that, many other languages stopped respecting how I want Noto Sans for almost everything.
Wikipedia also uses other weird language tags: * Bare "zh": https://en.wikipedia.org/wiki/Template:Lang-zh#cite_ref-unnamed_3-0 * https://en.wikipedia.org/w/index.php?search=TM%3A+insource%3A%22lang%3Dzh-hani%22&ns0=1 * https://en.wikipedia.org/w/index.php?search=TM%3A+insource%3A%22lang%3Dzh-hant%22&ns0=1 * https://en.wikipedia.org/w/index.php?search=TM%3A+insource%3A%22lang%3Dzh-hant-tw%22&ns0=1 * https://en.wikipedia.org/w/index.php?search=TM%3A+insource%3A%22lang%3Dzh-hans%22&ns0=1 * https://en.wikipedia.org/w/index.php?search=TM%3A+insource%3A%22lang%3Dzh-hans-cn%22&ns0=1 Please add compatibility for this. The hans->CN and hant->TW should be easy. The bare zh/zh-hani could be controversial. I personally prefer TW because it should cover more glyphs. But I would accept going with CN to match Microsoft Windows. $ lsb_release -rd Description: Ubuntu 25.10 Release: 25.10 $ apt-cache policy language-selector-common language-selector-common: Installé : 0.228 Candidat : 0.228 Table de version : *** 0.228 500 500 https://gpl.savoirfairelinux.net/pub/mirrors/ubuntu questing/main amd64 Packages 500 https://gpl.savoirfairelinux.net/pub/mirrors/ubuntu questing/main i386 Packages 100 /var/lib/dpkg/status $ apt-cache policy fontconfig fontconfig: Installé : 2.15.0-2.3ubuntu1 Candidat : 2.15.0-2.3ubuntu1 Table de version : *** 2.15.0-2.3ubuntu1 500 500 https://gpl.savoirfairelinux.net/pub/mirrors/ubuntu questing/main amd64 Packages 100 /var/lib/dpkg/status # What you expected to happen I should see a sans-serif font, preferable Noto Sans, at https://zh.wikipedia.org/wiki/Wikipedia:%E9%A6%96%E9%A1%B5 . Wikipedia's CSS specifies sans-serif, so it should be respected. # What happened instead I see AR PL UMing CN, a serif font. # Analysis I suggested ignoring the system language when the browser detects a HTML lang= attribute, but upstream at https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/510 refused to change the behaivour. # Workaround Set `FC_LANG=C` in `~/.config/environment.d/fontconfig.cfg`. ProblemType: Bug DistroRelease: Ubuntu 25.10 Package: language-selector-common 0.228 ProcVersionSignature: Ubuntu 6.17.0-14.14-generic 6.17.9 Uname: Linux 6.17.0-14-generic x86_64 ApportVersion: 2.33.1-0ubuntu3 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: KDE Date: Wed Feb 25 06:06:11 2026 InstallationDate: Installed on 2022-11-05 (1208 days ago) InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020) PackageArchitecture: all SourcePackage: language-selector UpgradeStatus: Upgraded to questing on 2025-10-04 (144 days ago) ** Affects: language-selector (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug questing wayland-session -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2142662 Title: Support bare zh language tag from Wikipedia To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/2142662/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
