GNOME Bugzilla – Bug 674326
Use localizations of option names and values contained in PPD files
Last modified: 2012-04-20 15:13:01 UTC
Created attachment 212289 [details] [review] localize PPD option names and values Current gtk print dialog doesn't localize option names and its values even if localized versions of these strings are available. It uses default language of the PPD file. This is a simple fix, it is enough to call ppdLocalize() after opening of the PPD file. This function localizes all the strings in the file (not changing keywords, just the strings displayed to users). Marek
Does that interact in any way with the localization for some important options that we do ourselves ?
For the records (it can be helpful to know the story behind): See bug 663478 comment 5.
(In reply to comment #1) > Does that interact in any way with the localization for some important options > that we do ourselves ? It doesn't interact with it. If we localize an option ourselves then the dialog uses the our localization. One thing I forgot to mention is that if there are 2 printers, one with localizations and the second one without them then the second one will not be localized while the first one will be. This makes it a little inconsistent.
(In reply to comment #3) > It doesn't interact with it. If we localize an option ourselves then the dialog > uses the our localization. > Sounds fine then
I've committed the patch to master. Regards Marek