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