fix missing namespace causing error when gettext is not installed