Issue #11447121: Add multilingual language switcher and refactor translation...

Issue #11447121: Add multilingual language switcher and refactor translation helpers in Entity Labels

  • add a language switcher dropbutton to EntityLabelsController and render it before the report table
  • keep the current language first in the switcher links and build language URLs from the current route
  • attach a dedicated entity_labels library for the report UI and add switcher layout CSS
  • add LTR/RTL-aware switcher alignment so the control stays right-aligned in LTR and flips in RTL
  • remove the switcher label and use the dropbutton--extrasmall class for the compact dropdown
  • refactor shared translation override logic into EntityLabelsTranslationTrait
  • add EntityLabelsTranslationImportTrait for exporter-only translated configuration loading
  • standardize translation override handling by storing getLanguageConfigOverride() results in $config_override
  • rename the controller language manager property to $languageManager and update constructor ordering with $type first
  • normalize dependency injection ordering across entity_labels services from general services to more specific ones
  • update unit and kernel tests for the new constructor signatures, switcher behavior, and stricter typing
  • fix PHPCS and PHPStan findings across entity_labels and confirm the full PHPUnit suite still passes

Closes #3581212

Merge request reports

Loading