From: Matt B. <wal...@ma...> - 2008-07-31 17:08:02
|
At 9:09 AM -0400 7/31/08, 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... > */ Still English only PPD files in /src/cups/ppd/Global. ./configure --prefix=/usr --enable-cups --enable-cups-ppds --enable-global-cups-ppds -- Matt Broughton Only relatives are absolute. |