From e11820d44f184f337bec1625e81b0a23b1a4a11e Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 13 Dec 2021 17:27:23 +1300 Subject: [PATCH] FIX Look for existing modules in vendor folder rather than base folder --- src/i18n/TextCollection/i18nTextCollector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n/TextCollection/i18nTextCollector.php b/src/i18n/TextCollection/i18nTextCollector.php index 934285250..d35ce30dd 100644 --- a/src/i18n/TextCollection/i18nTextCollector.php +++ b/src/i18n/TextCollection/i18nTextCollector.php @@ -372,7 +372,7 @@ class i18nTextCollector // For each module do a simple merge of the default yml with these strings foreach ($entitiesByModule as $module => $messages) { // Load existing localisations - $masterFile = "{$this->basePath}/{$module}/lang/{$this->defaultLocale}.yml"; + $masterFile = "{$this->basePath}/vendor/{$module}/lang/{$this->defaultLocale}.yml"; $existingMessages = $this->getReader()->read($this->defaultLocale, $masterFile); // Merge