Project

General

Profile

Actions

Feature #98394

closed

Allow Extension to prevent downloading of language packs

Added by Daniel Siepmann over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2022-09-21
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

TYPO3 will try to fetch language packs for all installed extensions in all available languages.
This exposes locally installed extensions to the outer world (the language server).
Furthermore, there might be an extension in the wild with same name, leading to unexpected downloading foreign language packs. Otherwise unnecessary 404 to TYPO3 translation server will happen.

It would be cool if extensions could be defined to ignore the procedure. E.g. via

{
    "extra": {
        "typo3/cms": {
            "updateLanguages": false
        }
    }
}

Furthermore: There is no way to do that via composer only right now. But there was a way via ext_emconf.php, see: https://github.com/TYPO3/typo3/blob/9d5ff89a9e9f086eca3a1d594797e50a24623ed5/typo3/sysext/install/Classes/Service/LanguagePackService.php#L170


Files


Related issues 1 (1 open0 closed)

Has duplicate TYPO3 Core - Feature #101526: Allow configuration to prevent downloading of language packs for specific extensionsNew2023-08-02

Actions
Actions #1

Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75804

Actions #2

Updated by Daniel Siepmann over 1 year ago

  • Description updated (diff)
Actions #3

Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75804

Actions #4

Updated by Christian Kuhn over 1 year ago

Use cases why the list of extensions considered for language pack upates should be adjustable:
  • avoid 404 calls and their log entries (by not requesting non existing language packs)
  • speed up the command (by not requesting non existing language packs)
  • do not expose installed extensions to language server
  • avoid extension name conflicts (don't fetch a foreign extension when a custom extension exists)
Actions #5

Updated by Christoph Lehmann over 1 year ago

Can't we put it in ext_localconf.php (and/or) settings.php like in screenshot attached?

Actions #6

Updated by Gerrit Code Review about 1 year ago

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77485

Actions #7

Updated by Gerrit Code Review about 1 year ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77485

Actions #8

Updated by Gerrit Code Review about 1 year ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77485

Actions #9

Updated by Gerrit Code Review about 1 year ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77485

Actions #10

Updated by Gerrit Code Review about 1 year ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77485

Actions #11

Updated by Gerrit Code Review about 1 year ago

Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77485

Actions #12

Updated by Kevin Appelt about 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #13

Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed
Actions #14

Updated by J. Peter M. Schuler 9 months ago

  • Has duplicate Feature #101526: Allow configuration to prevent downloading of language packs for specific extensions added
Actions

Also available in: Atom PDF