Project

General

Profile

Actions

Bug #95700

closed

CLI command language:update fails due to packages without translation packs

Added by Daniel Haupt over 2 years ago. Updated over 1 year ago.

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #91988: language:update command does not output anything when not called in verbose modeClosed2020-08-12

Actions
Actions

Also available in: Atom PDF