mirror of
https://github.com/flextype/flextype.git
synced 2025-08-09 06:36:52 +02:00
Plugins: using flextype-components/i18n v1.1.0
This commit is contained in:
@@ -154,7 +154,7 @@ class Plugins
|
||||
foreach ($plugins_list as $plugin) {
|
||||
$language_file = PATH['plugins'] . '/' . $plugin . '/languages/' . $locale . '.yaml';
|
||||
if (Filesystem::fileExists($language_file)) {
|
||||
I18n::add($plugin, $locale, Yaml::parseFile($language_file));
|
||||
I18n::add(Yaml::parseFile($language_file), $locale);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user