Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/Plugin/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Plugin/Manager.php b/core/Plugin/Manager.php
index 67f3355ce8..8d3153377d 100644
--- a/core/Plugin/Manager.php
+++ b/core/Plugin/Manager.php
@@ -983,7 +983,7 @@ class Manager extends Singleton
}
// merge in specific language translations (to overwrite english defaults)
- if (file_exists($defaultLangPath)) {
+ if ($defaultEnglishLangPath != $defaultLangPath && file_exists($defaultLangPath)) {
$translations = $this->getTranslationsFromFile($defaultLangPath);
$translationsLoaded = true;
if (isset($translations[$pluginName])) {