po/mo-compliant i18n with gettext-ish functionality