Comment 13 for bug 335678

Revision history for this message
Данило Шеган (danilo) wrote : Re: [Bug 335678] Re: Failsafe X troubleshooting dialogs not translatable

У уто, 24. 11 2009. у 22:29 +0000, David Planella пише:
>
> * I do not know of any standard approach to gettextizing shell files
> (intltool does not support them, so I had to use xgettext directly),
> so I've used a POTFILES.in file in a similar way to intltool-based
> packages. There might be more elegant approaches, but this should give
> you an idea of what is needed.

intltool should support whatever format gettext does as well. You
should be able to use standard intltool makefiles as well, though I am
not sure how one would integrate them into packaging info: intltool
approach is usually applied on the bare version-controlled tree, not
against a tarball with pre-built makefiles and such.

To get intltool to extract messages from shell files, if they have no
extension, you might need to prefix entries in POTFILES.in with
[gettext/shell], i.e.

[gettext/shell] debian/local/Failsafe/failsafeXinit