move gettext init of language class