Project

General

Profile

Actions

Bug #83406

closed

Language module downloads language-files for deactivated extensions only

Added by Wittkiel Gruppe almost 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Language Manager (backend)
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

We have installed a fresh non-composer-based TYPO3 9.0 and download language "german". After that we switched user default language to "german" and also changed the language for the user to this. But after browser-refresh the backend is still in english.

In /typo3conf/l10n/de/ are only these folders, all extensions are deactivated(!) in EM
- filemetadata
- form
- indexed_search
- linkvalidator
- opendocs
- scheduler
- sys_action
- taskcenter
- workspaces

Seems only language-files for deactivated extensions are downloaded.

TYPO3 9.0.0
PHP 7.2.0
Apache
MariaDB

Actions #1

Updated by Oliver Klee almost 7 years ago

  • Subject changed from Language-modul only downloads language-files for deactivated extensions to Language module downloads language-files for deactivated extensions only
Actions #3

Updated by Christian Kuhn almost 7 years ago

These urls are working with v7 and v9.
->
These urls are working with v7 and v8.

So, as far as I can see, the urls are correct, the translations are just not yet populated in a v9 version. I'll ping Xavier about that, maybe he knows details.

For the detail that it works with 'deactivated' extensions, this is because the em does not know the version of the not loaded extension and thus fetches a very old 'compatibility' version of the localizations, which is not cool, either. I think the language module shouldn't fetch translations of not loaded exts at all.

Actions #4

Updated by Wittkiel Gruppe almost 7 years ago

Christian Kuhn wrote:

So, as far as I can see, the urls are correct, the translations are just not yet populated in a v9 version. I'll ping Xavier about that, maybe he knows details.

Did you reach Xavier? The files are still not there.

Actions #5

Updated by Christian Kuhn over 6 years ago

This boiled down to a server-team issue. They promised to fix that now, so for installed packages, the v9 versions are hopefully available soon.

However, the language BE module currently loads very old localization packages for not installed extensions. I'll now push a patch (tested on v7, v8 and v9) to only fetch localization packages of actually loaded extensions - for not loaded extensions the version detection goes wrong, so to prevent old l10n information, we just skip downloading packages of not loaded extensions with my patch.

For v9, i hope the server team fixes the issue soon, and the module will receive a revamp and relocation anyway - I'm currently just a bit blocked by the server-team issue.

Actions #6

Updated by Christian Kuhn over 6 years ago

ok, server team solve the main issue meanwhile, so v9 language packs are now available again. kudos to stucki for this.

Actions #7

Updated by Gerrit Code Review over 6 years ago

  • Status changed from New 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/55860

Actions #8

Updated by Gerrit Code Review over 6 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/55860

Actions #9

Updated by Gerrit Code Review over 6 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/55860

Actions #10

Updated by Gerrit Code Review over 6 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55863

Actions #11

Updated by Gerrit Code Review over 6 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55864

Actions #12

Updated by Christian Kuhn over 6 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF