r8189 - in people: . jorda

Jordà Polo jorda at ettin.org
Tue Sep 23 10:22:37 UTC 2008


On Tue, Sep 23, 2008 at 12:08:38AM +0200, Sylvain Beucler wrote:
> Just in case, I though I'd mention 'intltool' which provides tools to
> work on .desktop files.  The autoconf plugs don't behave exactly as
> the gettext ones though (use intltool at compile time, so it goes in
> BuildDepends)  :)

I'm aware that intltool provides tools to translate .desktop files, but
it is probably thought to be integrated upstream, and using autotools.
intltool also provides a lot of other stuff that isn't used at all, so I
think it is a bit overkill if you only want to translate a few .desktop
files, which is easily scriptable. I wrote the scripts for Neverball
since they didn't want to use intltool either.

The second problem I see if we were to use intltool at compile time is
that it would be a pain for translators to have a .po file for each
package, with only one or two translatable strings.

I was actually thinking of creating a big .po file for all the .desktop
files in the repo. I still have no idea about how to integrate it,
though. Having partially automatically-generated .desktop files in the
repo is certainly far from perfect. But since I had already written the
scripts, I thought it would be a good idea to commit them to the repo.
Even if they aren't used for all the packages in pkg-games, perhaps
someone else will find them useful.



More information about the Pkg-games-devel mailing list