Ciao,

l'errore sta nel fatto che $_POST['locale'] è un array, quindi devi scorrerlo ed aggiornare un valore per volta.