Alphabetically ordering vocabulary terms in a translated I have 5 English-Italian terms in a views exposed filter:
Academic | Accademico
American Studies | Studi americani
Medieval Studies | Studi medievali
Music | Musica
Reviews | Recensioni
The English language appear in alphabetical order and, as you can probably guess, the rendering order for the Italian translation is:
Accademico
Studi americani
Studi medievali
Musica
Recensioni
The desired order is:
Accademico
Musica
Recensioni
Studi americani
Studi medievali
I sort of halfway understand what is happening here. My question is whether this is something that is best remedied by hook_form_alter() or whether there is some obvious translation configuration I am missing in Views?
I found an old solution for Drupal 7 and just changed it until it worked. ;)
function MYMODULE_form_views_exposed_form_alter(&amp;$form, $form_state) {
  if (array_key_exists('MYEXPOSEDFILTERKEY', $form)) {
    asort($form['MYEXPOSEDFILTERKEY']['#options']);
  }
}

It's fairly simply and works as at that point the options are already translated. So, you just need to sort the options in the respective filter.