Michael Hill
mdhillca@gmail.com 2013
Mario Blättermann
mario.blaettermann@gmail.com 2009-2012
Christian Kirbach
christian.kirbach@gmail.com 2011, 2012.
Aljosha Papsch
al@rpapsch.de 2012

# Mark strings for translation

# Set up translations

Before the strings from your application can be translated, they need to be extracted from the source code.

Wrap messages or string literals in your code with the '`_()`' macro.

For C, this macro is defined in the glib/gi18n.h header file, which must be included at the top of your application source.

Your wrapped strings should look like this:

_("Drücken Sie zum Fortfahren eine Taste")

This marks the strings as translatable, and at runtime calls gettext to substitute the translated strings.