* The file must be renamed to gtg/gtg.desktop.in
* After that, the 'Name' and 'Comment' entries must be marked as translatable. That's as simple as renaming them to '_Name' and '_Comment'
* The build system should then take care of creating gtg/gtg.desktop from gtg/gtg.desktop.in
* Also of extracting the translatable files from the .desktop.in file and putting them in the .pot file, and then merging the translations back to the .desktop file. Intltool can do this, and using python-distutils-extra (bug 537968) might also help on this (the build system calls intltool).
Here's how to do it:
* The file must be renamed to gtg/gtg.desktop.in distutils- extra (bug 537968) might also help on this (the build system calls intltool).
* After that, the 'Name' and 'Comment' entries must be marked as translatable. That's as simple as renaming them to '_Name' and '_Comment'
* The build system should then take care of creating gtg/gtg.desktop from gtg/gtg.desktop.in
* Also of extracting the translatable files from the .desktop.in file and putting them in the .pot file, and then merging the translations back to the .desktop file. Intltool can do this, and using python-