Always fallback to english if other languages translations are not available.

This commit is contained in:
Andy Miller
2015-10-19 10:00:44 -06:00
parent 3848a266d0
commit 7cb7891fa7

View File

@@ -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;