Can a preprocess hook convert the default ul of hyperlinks into a drop-down select list? Something like this hook.
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
You can copy the
core/modules/system/templates/links.html.twig into your theme's templates directory, call it
links--language-block.html.twig and in this file adjust the output from the default ul/li structure into a different html structure.