services: path_processor_language: class: Drupal\language\HttpKernel\PathProcessorLanguage arguments: ['@config.factory', '@settings', '@language_manager'] tags: - { name: path_processor_inbound, priority: 300 } - { name: path_processor_outbound, priority: 100 } language_config_subscriber: class: Drupal\language\LanguageConfigSubscriber tags: - { name: event_subscriber } arguments: ['@language_manager', '@config.factory']