diff --git a/cake/libs/l10n.php b/cake/libs/l10n.php index e78bd2a67..e13e92083 100644 --- a/cake/libs/l10n.php +++ b/cake/libs/l10n.php @@ -399,7 +399,7 @@ class L10n extends Object { $this->charset = $this->__l10nCatalog[$langKey]['charset']; if ($this->default) { - $this->languagePath[2] = $this->__l10nCatalog[$this->default]['localeFallback']; + $this->languagePath[2] = $this->__l10nCatalog[$this->__l10nMap[$this->default]]['localeFallback']; } $this->found = true; Configure::write('Config.language', $this->lang);