[Printing-architecture] [Gimp-print-devel] Common Printing Dialog: PPD extension specs updated
Till Kamppeter
till.kamppeter at gmail.com
Thu Jul 31 07:02:20 PDT 2008
For me this does not change anything. The generated PPDs still have all
translations in English. Also adding --enable-globalized-cups-ppds to
the configure command line does not help.
Till
Robert Krawitz wrote:
> I wonder if there's any relationship between the translation problems
> you're having and what Matt's having.
>
> I'm trying this change to cups-genppd, to clear the locale-related
> environment variables before doing anything else. I've observed that
> if LANGUAGE is set it overrides whatever I do; perhaps this will fix
> that?
>
> Till and Matt, could you try this change and let me know if it helps?
>
> --- genppd.c 31 Jul 2008 08:29:26 -0400 1.164
> +++ genppd.c 31 Jul 2008 09:06:27 -0400
> @@ -398,6 +398,11 @@
> int opt_printmodels = 0;/* Print available models */
> int which_ppds = 2; /* Simplified PPD's = 1, full = 2 */
>
> + (void) unsetenv("LC_ALL");
> + (void) unsetenv("LC_MESSAGES");
> + (void) unsetenv("LANG");
> + (void) unsetenv("LANGUAGE");
> +
> /*
> * Parse command-line args...
> */
>
More information about the Printing-architecture
mailing list