Calling Language::__construct (or the constructor of a sub class) is deprecated since 1.35 https://gerrit.wikimedia.org/r/c/mediawiki/core/+/450996
The LanguageFactory services has to be used instead.
Replace usage and hard-deprecate the constructor.
It seems it is still called in test code