diff --git a/core/lib/Drupal/Core/Language/LanguageManager.php b/core/lib/Drupal/Core/Language/LanguageManager.php index 581e6b4..6c419a8 100644 --- a/core/lib/Drupal/Core/Language/LanguageManager.php +++ b/core/lib/Drupal/Core/Language/LanguageManager.php @@ -127,6 +127,9 @@ public function getLanguages($flags = LanguageInterface::STATE_CONFIGURABLE) { $default = $this->getDefaultLanguage(); $languages = array($default->getId() => $default); + // Add the special languages, they will be filtered later if needed. + $languages += $this->getDefaultLockedLanguages($default->getWeight()); + // Filter the full list of languages based on the value of the $all flag. By // default we remove the locked languages, but the caller may request for // those languages to be added as well.