How can I set a different theme basing on the language currently used for the page?
you can check the current language with the languageManager (docs here)

Drupal::languageManager()


and then you can set a different theme with the theme service

\Drupal::service('theme_handler')-&gt;setDefault('test_theme');


Hope it helps,