Custom gettext solution