Only set locale if languages are supported and tested