diff --git a/src/Console/Commands/TranslateCommand.php b/src/Console/Commands/TranslateCommand.php index 54f3b66..19d2892 100644 --- a/src/Console/Commands/TranslateCommand.php +++ b/src/Console/Commands/TranslateCommand.php @@ -74,8 +74,9 @@ protected function execute(InputInterface $input, OutputInterface $output) //insert extra strings if (file_exists($rootpath . '/packages/bixie/' . $this->extension . '/languages/base.php')) { $extraStrings = include($rootpath . '/packages/bixie/' . $this->extension . '/languages/base.php'); - foreach ($extraStrings as $string) { - $translations[$string] = $locale != 'en_US' && isset($existing[$string])? $existing[$string] : $string; + $this->line("Add base.php"); + foreach ($extraStrings as $string) { + $translations[$string] = isset($existing[$string])? $existing[$string] : $string; } } //get pot strings