diff options
Diffstat (limited to 'plugins/LanguagesManager/Commands/SetTranslations.php')
-rw-r--r-- | plugins/LanguagesManager/Commands/SetTranslations.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/LanguagesManager/Commands/SetTranslations.php b/plugins/LanguagesManager/Commands/SetTranslations.php index 6790d40158..4952e62962 100644 --- a/plugins/LanguagesManager/Commands/SetTranslations.php +++ b/plugins/LanguagesManager/Commands/SetTranslations.php @@ -43,7 +43,7 @@ class SetTranslations extends TranslationBase $languageCode = $input->getOption('code'); $filename = $input->getOption('file'); - $languageCodes = (new API())->getAvailableLanguages(); + $languageCodes = (new API())->getAvailableLanguages(true); if (empty($languageCode) || !in_array($languageCode, $languageCodes)) { $languageCode = $dialog->askAndValidate($output, 'Please provide a valid language code: ', function ($code) use ($languageCodes) { |