added/fixed i18n support via gettext to xboard