Fixed #21991 -- Added warning regarding tests failure if locales not installed.

Thanks reidrac for the report.