Fix locale arugments to array.