Bug #95700
closedCLI command language:update fails due to packages without translation packs
100%
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
Updated by Daniel Haupt over 3 years ago
Addition:
I am aware of the command option --skip-extension
, but with numerous extensions it could get messy. It would be better to optimize the general behavior, also in the install tool.
Updated by Oliver Hader over 3 years ago
Translation server should provide a list of available language packs per extension. The problematic case here is the exit
status.
Updated by Mathias Brodala about 3 years ago
- Related to Bug #91988: language:update command does not output anything when not called in verbose mode added
Updated by Mathias Brodala about 3 years ago
This has been added as one of many changes with #91988 and is basically a regression.
Updated by Gerrit Code Review about 3 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274
Updated by Gerrit Code Review about 3 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274
Updated by Gerrit Code Review about 3 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274
Updated by Gerrit Code Review about 3 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274
Updated by Gerrit Code Review about 3 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274
Updated by Gerrit Code Review about 3 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274
Updated by Gerrit Code Review about 3 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274
Updated by Gerrit Code Review about 3 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274
Updated by Gerrit Code Review about 3 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274
Updated by Gerrit Code Review about 3 years ago
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274
Updated by Gerrit Code Review about 3 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72309
Updated by Anonymous about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 9d5ff89a9e9f086eca3a1d594797e50a24623ed5.