Translating the strings in a glade file is really
easy: If gettext is available and loaded and the textdomain
is set, it automatically looks for translations - you
just have to provide the translated .mo
file in the right directory.
Just start the script, and you will see
a translated application as the string contents
are already in testapp.mo.
It can be quite boring to collect all the strings
which shall be translated in a .glade
file. Glade has the option "save translatable strings"
which creates a file containing all the strings from
a glade file - it's easy to convert them to a
.po file.