From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 Description of problem: The PPD's in /usr/share/cups/model/$language/ are not translated. This results in lots of multiplicate entries for the (en) language in the CUPS web interface. Version-Release number of selected component (if applicable): gimp-print-4.2.7-2 How reproducible: Always Steps to Reproduce: 1.Add a printer through the CUPS web interface 2.Pick a make for which you have gimp-print PPD's installed 3.See lots of multiplicate entries for the (en) language, none for other languages Additional info: I did some trial-and-error experimentation with the source rpm and here are my findings: 1. issued command 'rpmbuild -bc gimp-print.spec' on unmodified spec file 2. opened ppd file in build_dir/src/cups/ppd/de/ and found it untranslated 3. commented out the make line in the %build section of gimp-print.spec 4. issued command 'rpmbuild -bc gimp-print.spec' on modified spec file 5. cd'ed to build_dir, then issued command 'make' 6. opened ppd file in build_dir/src/cups/ppd/de/ and found it translated! 7. figured there must be a crucial difference between the rpm build environment and my login shell's environment causing the difference in behavior; found rpm build environment sets "LANG=C", my login shell sets "LANG=en_US.UTF-8" 8. inserted 'export LANG="en_US.UTF-8"' before %configure in %build section of gimp-print.spec 9. uncommented the make line in the %build section of gimp-print.spec 10. issued command 'rpmbuild -bc gimp-print.spec' on modified spec file 11. opened ppd file in build_dir/src/cups/ppd/de/ and found it translated
Thanks. I have fixed this for the next release of Red Hat Enterprise Linux, as well as for Fedora Core 5.