mirror of
https://github.com/getgrav/grav.git
synced 2026-07-07 22:12:26 +02:00
Fix issue when translations_fallback is turned off, the translations are always relative to the default language even if the active language is != default
This commit is contained in:
@@ -352,7 +352,7 @@ class Language
|
||||
if ($this->config->get('system.languages.translations_fallback', true)) {
|
||||
$languages = $this->getFallbackLanguages();
|
||||
} else {
|
||||
$languages = (array)$this->getDefault();
|
||||
$languages = (array)$this->getLanguage();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user