We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee81859 commit 4ea439cCopy full SHA for 4ea439c
administrator/components/com_languages/src/Model/StringsModel.php
@@ -91,6 +91,12 @@ public function refresh()
91
// Parse all found ini files and add the strings to the database cache.
92
foreach ($files as $file)
93
{
94
+ // Only process if language file is for selected language
95
+ if (strpos($file, $language, strlen($base)) === false)
96
+ {
97
+ continue;
98
+ }
99
+
100
$strings = LanguageHelper::parseIniFile($file);
101
102
if ($strings)
0 commit comments