The translator requires the intl extension only to get a default locale if none was set `Locale::getDefault()`.
It would be better to check for class exists and throw the exception only at this point a default locale couldn't detected or simply hard define one default locale.