diff --git a/flextype/Plugins.php b/flextype/Plugins.php index c3f0b604..b8cecbeb 100755 --- a/flextype/Plugins.php +++ b/flextype/Plugins.php @@ -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); } } }