[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: translations.launchpad.net: how to get PO for updating Debian packages?

On 09/01/14 13:48, Osamu Aoki wrote:
> PS: I also wonder if there is some generic script to update *.desktop
> files using PO files.

GNOME uses intltool for this. Look at how gnome-terminal generates its
.desktop file, for instance: gnome-terminal.desktop.in.in (the actual
source) does not contain any translations at all, and strings from
po/*.po are merged into it at build-time.

(You might only need one layer of ".in" if the .desktop file contains
hard-coded paths, but in general you'll need one layer for intltool, and
one for Automake substitutions like @bindir@, hence ".in.in".)


Reply to: