Package: cupsys-driver-gutenprint Version: 5.0.2-2+b1 While upgrading the package, the post-install script calls cups-genppdupdate.5.0 to update ppd files used by cups and stored in /etc/cups/ppd.
If the system runs a locale different than "C", e.g. de_DE.UTF-8, and the original ppd contains the localized strings for that locale, then the updated ppd no longer contains translated strings bu only English ones. I believe this is the result of a coding error in the cups-genppdupdate perl script, for which I am attaching a patch. Thank you Paul Thomas
--- gutenprint-5.0.2.orig/src/cups/cups-genppdupdate.in +++ gutenprint-5.0.2/src/cups/cups-genppdupdate.in @@ -412,10 +412,10 @@ } if ($locale) { # Split into the language and territory. - ($locale, $region) = split(/-/, $locale); + ($locale, $region) = split(/_/, $locale); } else { # Split into the language and territory. - ($locale, $region) = split(/-/, $lingo); + ($locale, $region) = split(/_/, $lingo); # Convert language into language code. $locale = $languagemappings{"\L$lingo"}; if (!defined($locale)) {