genlocales script