turn Languages from array of pointers to array of values