[Printing-architecture] [Gimp-print-devel] Common Printing Dialog: PPD extension specs updated
Till Kamppeter
till.kamppeter at gmail.com
Fri Aug 1 05:55:05 PDT 2008
Roger Leigh wrote:
> On Fri, Aug 01, 2008 at 02:13:15PM +0200, Till Kamppeter wrote:
>> Still all English. I have looked into the strace output and it seems to
>> look for the translations in the system and not in the source tree:
>>
>> ----------------------------------------------------------------------------
>> ...
>> open("/usr/lib/locale/cs.UTF8/LC_IDENTIFICATION", O_RDONLY) = -1 ENOENT
>> (No such file or directory)
>
> This stuff isn't gutenprint's LC_MESSAGES, it's the system LC_* being
> loaded by libc (probably in its startup code). This is fine.
>
>> 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.
>
> 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?).
Probably that is the problem. I must install them and make them build
dependencies for any kind of package I make (Ubuntu, LSB). Does one
really always need to install all locales to create internationalized
packages?
Till
More information about the Printing-architecture
mailing list