Skip to content

Commit

Permalink
Merge pull request #17 from arnoudhgz/fix/generate-js-translations-af…
Browse files Browse the repository at this point in the history
…ter-commandline

Make sure JS translations keep working after import
  • Loading branch information
Boris van Katwijk authored Nov 26, 2019
2 parents 6525a86 + 09e9211 commit 07c9a66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Model/TranslationCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ public function updateTranslationDatabase($storeId, $locale, $translationType =
$translations = array_diff_key($translations, $databaseTranslations);

$insertionCount = $this->createNewTranslations($translations, $storeId, $locale);

$this->helper->updateJsTranslationJsonFiles($locale);

$this->emulation->stopEnvironmentEmulation();
return $insertionCount;
Expand Down

0 comments on commit 07c9a66

Please sign in to comment.