Check if setting locale worked