Actions
Bug #95700
closedCLI command language:update fails due to packages without translation packs
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
CLI
Target version:
-
Start date:
2021-10-19
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
Example execution:
$ typo3 language:update -v
Updating language packs of all activated extensions for locale(s) "de"
Updated pack for language "de" for extension "adminpanel"
[...]
Fetching pack for language "de" for extension "recaptcha" failed
[...]
Failed to execute command vendor/bin/typo3 language:update -v: exit status 1
In this case, the extension recaptcha does not provide translation packs at all. Ideally, it should not be attempted to download language packs of this extension.
Suggenstions:
1. Fetch translation packs only if an extension provides those (e.g. check for `.crowdin.yaml` in extension directory or introduce new extension config flag).
2. Do not fail in command typo3 language:update
if package download results in 404.
Our current workaround for CI/CD usage:
$ typo3 language:update --no-progress &> /dev/null || true
Actions