FIX Look for existing modules in vendor folder rather than base folder

This commit is contained in:
Steve Boyd 2021-12-13 17:27:23 +13:00
parent 04f9a80c0e
commit e11820d44f
1 changed files with 1 additions and 1 deletions

View File

@ -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