From: Till Kamppeter <till.kamppeter@gmail.com>
To: Robert Krawitz <rlk@alum.mit.edu>
Cc: printing-architecture@lists.linux-foundation.org,
printing-japan@lists.linux-foundation.org,
gimp-print-devel@lists.sourceforge.net, jriddell@ubuntu.com,
Roger Leigh <rleigh@whinlatter.ukfsn.org>
Subject: Re: [Printing-architecture] [Gimp-print-devel] Common Printing Dialog: PPD extension specs updated
Date: Fri, 01 Aug 2008 15:40:31 +0200 [thread overview]
Message-ID: <4893124F.6080202@gmail.com> (raw)
In-Reply-To: <200808011308.m71D8CMM004429@dsl092-065-009.bos1.dsl.speakeasy.net>
Robert Krawitz wrote:
> Date: Fri, 1 Aug 2008 14:02:41 +0100
> From: Roger Leigh <rleigh@whinlatter.ukfsn.org>
>
> On Fri, Aug 01, 2008 at 08:43:27AM -0400, Robert Krawitz wrote:
> > Date: Fri, 1 Aug 2008 13:33:14 +0100
> > From: Roger Leigh <rleigh@whinlatter.ukfsn.org>
> >
> > > There must be some possibility to provide an appropriate search path.
> > > Would be bad if one would need to set a symlink from the source tree
> > > into the system (would make distro packaging impossible).
> >
> > The search path is specified directly in genppd.c. See
> > baselocaledir with relation to bindtextdomain/textdomain and the -c
> > option (which Robert's example used). If this isn't working, the
> > debug/verbose option and strace should show you why.
> >
> > I suspect that all of this is why a lot of people have had problems
> > with translated PPD files all along. We've had reports about this
> > ever since the 4.2 days.
>
> What are you referring to here as the source of problems?
>
> It not finding the correct translations
>
> > Note: you *must* have all the locales being used available, which are
> > generated with localedef/locale-gen. They should probably all be UTF-8
> > locales as well (do we enforce this?).
> >
> > How would we enforce this (and what specifically do we need to
> > enforce)? We don't have much control over what users have installed
> > on their systems.
>
> Don't the PPD files need to be in a single encoding? Or does each
> language have a defined encoding? With the current setup, don't we just
> get whatever locale the system is set up to use?
>
> Per Mike Sweet, we have to use UTF-8 for all of the PPD files.
>
I have installed all locales now, by doing
for l in `cat /usr/share/i18n/SUPPORTED`; do sudo locale-gen $l; done
on my Ubuntu Intrepid. Then I have run
LC_ALL= LANG= LANGUAGE=
STP_MODULE_PATH=../../src/main/.libs:../../src/main
STP_DATA_PATH=../../src/xml strace -s 1024 -o st.out ./cups-genppd.5.2
-p ppd/Global -c `pwd`/catalog/share/locale pcl-2
and according to st.out it still reads only English message catalogs.
I tried also
LC_ALL=de LANG=de LANGUAGE=de
STP_MODULE_PATH=../../src/main/.libs:../../src/main
STP_DATA_PATH=../../src/xml strace -s 1024 -o st.out ./cups-genppd.5.2
-p ppd/Global -c `pwd`/catalog/share/locale pcl-2
to see whether it perhaps reads only German message catalogs but it
still reads only English message catalogs.
Robert, can it be that your I18n is based on something which SUSE has
patched into gettext?
Till
next prev parent reply other threads:[~2008-08-01 13:40 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-30 15:50 [Printing-architecture] Common Printing Dialog: PPD extension specs updated Till Kamppeter
[not found] ` <4890962F.4000305@apple.com>
2008-07-30 16:38 ` Till Kamppeter
[not found] ` <4890AD59.6090902@apple.com>
2008-07-30 19:39 ` [Printing-architecture] [Gimp-print-devel] " Till Kamppeter
2008-07-30 19:54 ` [Printing-architecture] " Till Kamppeter
[not found] ` <200807310148.m6V1mTkP006833@dsl092-065-009.bos1.dsl.speakeasy.net>
2008-07-31 7:10 ` [Printing-architecture] [Gimp-print-devel] " Till Kamppeter
[not found] ` <200807310223.m6V2NkAv006976@dsl092-065-009.bos1.dsl.speakeasy.net>
2008-07-31 9:18 ` Till Kamppeter
[not found] ` <200807311226.m6VCQED9017811@dsl092-065-009.bos1.dsl.speakeasy.net>
2008-07-31 13:38 ` Till Kamppeter
[not found] ` <200807311345.m6VDjJFT018162@dsl092-065-009.bos1.dsl.speakeasy.net>
2008-07-31 14:03 ` Till Kamppeter
2008-07-31 14:05 ` Till Kamppeter
[not found] ` <200807311309.m6VD9s5n018013@dsl092-065-009.bos1.dsl.speakeasy.net>
2008-07-31 14:02 ` Till Kamppeter
[not found] ` <p06110400c4b793ad4cd1@[192.168.1.102]>
[not found] ` <200807312114.m6VLEhgd004613@dsl092-065-009.bos1.dsl.speakeasy.net>
2008-07-31 21:37 ` Till Kamppeter
[not found] ` <200807312156.m6VLusVF004364@dsl092-065-009.bos1.dsl.speakeasy.net>
2008-08-01 7:09 ` Till Kamppeter
[not found] ` <200808011134.m71BYXdK003793@dsl092-065-009.bos1.dsl.speakeasy.net>
2008-08-01 12:13 ` Till Kamppeter
[not found] ` <20080801123314.GA26452@nagini.vm.bytemark.co.uk>
2008-08-01 12:55 ` Till Kamppeter
[not found] ` <20080801130821.GC26452@nagini.vm.bytemark.co.uk>
2008-08-01 13:19 ` Till Kamppeter
[not found] ` <48934778.1080504@apple.com>
[not found] ` <87ej58mptc.fsf@hardknott.home>
[not found] ` <4893A466.5040103@apple.com>
[not found] ` <87tze4l0sr.fsf@hardknott.home>
[not found] ` <200808020120.m721K3Uw007245@dsl092-065-009.bos1.dsl.speakeasy.net>
[not found] ` <87wsizvbdh.fsf@hardknott.home>
[not found] ` <87ej57v8gj.fsf@hardknott.home>
2008-08-04 14:41 ` Till Kamppeter
2008-08-04 21:08 ` Till Kamppeter
[not found] ` <873alk8lwp.fsf@hardknott.home>
2008-08-04 22:41 ` Till Kamppeter
[not found] ` <200808011243.m71ChRZ9004044@dsl092-065-009.bos1.dsl.speakeasy.net>
[not found] ` <20080801130240.GB26452@nagini.vm.bytemark.co.uk>
[not found] ` <200808011308.m71D8CMM004429@dsl092-065-009.bos1.dsl.speakeasy.net>
2008-08-01 13:40 ` Till Kamppeter [this message]
[not found] ` <48934629.3060501@apple.com>
2008-08-01 17:26 ` Till Kamppeter
2008-08-01 12:52 ` Till Kamppeter
2008-08-01 7:15 ` Till Kamppeter
[not found] ` <4895C323.7060005@apple.com>
[not found] ` <200808031506.m73F6GPe025447@dsl092-065-009.bos1.dsl.speakeasy.net>
[not found] ` <200808030932.38287.hvengel@astound.net>
2008-08-04 21:53 ` Till Kamppeter
[not found] ` <4897BF6A.9090806@apple.com>
[not found] ` <200808050027.23995.hvengel@astound.net>
2008-08-05 8:20 ` Till Kamppeter
[not found] ` <200808031431.06482.hvengel@astound.net>
2008-08-04 22:22 ` [Printing-architecture] [Gimp-print-devel] Common Printing Dialog: Color Management (was)PPD " Till Kamppeter
[not found] ` <200808050116.25204.hvengel@astound.net>
2008-08-05 8:30 ` Till Kamppeter
2008-08-05 12:36 ` peter sikking
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4893124F.6080202@gmail.com \
--to=till.kamppeter@gmail.com \
--cc=gimp-print-devel@lists.sourceforge.net \
--cc=jriddell@ubuntu.com \
--cc=printing-architecture@lists.linux-foundation.org \
--cc=printing-japan@lists.linux-foundation.org \
--cc=rleigh@whinlatter.ukfsn.org \
--cc=rlk@alum.mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.