GNU gettext utilities: Desktop Entry

From Get docs
Gettext/docs/latest/Desktop-Entry


16.2.3 Desktop Entry files

The programmer produces a desktop entry file template with only the English strings. These strings get included in the POT file, by way of xgettext (usually by listing the template in po/POTFILES.in). The translators produce PO files, one for each language. Finally, an msgfmt --desktop invocation collects all the translations in the desktop entry file.

For more information, see the example hello-c-gnome3.

Icons:    Handling icons