Example code for how to use a simple instance of gettext and xgettext