mirror of
https://github.com/getgrav/grav.git
synced 2026-05-06 19:35:37 +02:00
Always fallback to english if other languages translations are not available.
This commit is contained in:
@@ -302,6 +302,8 @@ class Language
|
||||
}
|
||||
$this->fallback_languages = $fallback_languages;
|
||||
}
|
||||
// always add english in case a translation doesn't exist
|
||||
$this->fallback_languages[] = 'en';
|
||||
}
|
||||
|
||||
return $this->fallback_languages;
|
||||
|
||||
Reference in New Issue
Block a user