correcting locale informations for portuguese and spanish