Task #63546

Clean availableLanguages in LocalConfiguration

Added by Andreas Fernandez about 5 years ago. Updated over 1 year ago.

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

100%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Currently, EXTCONF/lang/availableLanguages in LocalConfiguration is representing the complete (un)selection of the selected languages of EXT:lang.

Example: Selection "German" results in this array:

'availableLanguages' => array(
    '',
    '',
    '',
    '',
    '',
    '',
    'de',
    '',
    '',
    '',
    '',
),

This must be cleaned up.


Related issues

Related to TYPO3 Core - Bug #89772: Manage Language Packs — strange overview Closed 2019-11-25

Associated revisions

Revision 78b3698d (diff)
Added by Andreas Fernandez about 5 years ago

[TASK] Remove unselected languages in LocalConfiguration

If selecting one ore more languages in EXT:lang, the complete
language tree is written in EXTCONF/lang/availableLanguages in
LocalConfiguration.php. Empty values in this array represent
unselected languages. This patch removes the empty values
from the language array.

Resolves: #63546
Releases: master, 6.2
Change-Id: I327f05c16f3824f1c91c8f2e095c5b5059b420b9
Reviewed-on: http://review.typo3.org/34985
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>

Revision e01be073 (diff)
Added by Andreas Fernandez about 5 years ago

[TASK] Remove unselected languages in LocalConfiguration

If selecting one ore more languages in EXT:lang, the complete
language tree is written in EXTCONF/lang/availableLanguages in
LocalConfiguration.php. Empty values in this array represent
unselected languages. This patch removes the empty values
from the language array.

Resolves: #63546
Releases: master, 6.2
Change-Id: I327f05c16f3824f1c91c8f2e095c5b5059b420b9
Reviewed-on: http://review.typo3.org/35011
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>

Revision 69661812 (diff)
Added by Andreas Fernandez 3 months ago

[BUGFIX] Filter empty values from language list

In case an old installation still has empty values stored in
`EXTCONF/lang/availableLanguages` (which has been fixed in #63546),
e.g. the language matrix in the "Manage Language Packs" is unusable.

This patch therefore removes empty values from the mentioned
configuration, as similar solved in the old issue.

Resolves: #89772
Related: #63546
Releases: master, 9.5
Change-Id: Id7473e5f17878d84914fec4df629ac6617256b55
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62497
Tested-by: TYPO3com <>
Tested-by: Susanne Moog <>
Tested-by: Georg Ringer <>
Reviewed-by: Susanne Moog <>
Reviewed-by: Georg Ringer <>

Revision 2a7fa091 (diff)
Added by Andreas Fernandez 3 months ago

[BUGFIX] Filter empty values from language list

In case an old installation still has empty values stored in
`EXTCONF/lang/availableLanguages` (which has been fixed in #63546),
e.g. the language matrix in the "Manage Language Packs" is unusable.

This patch therefore removes empty values from the mentioned
configuration, as similar solved in the old issue.

Resolves: #89772
Related: #63546
Releases: master, 9.5
Change-Id: Id7473e5f17878d84914fec4df629ac6617256b55
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62459
Tested-by: TYPO3com <>
Tested-by: Georg Ringer <>
Reviewed-by: Georg Ringer <>

History

#1 Updated by Gerrit Code Review about 5 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 http://review.typo3.org/34985

#2 Updated by Gerrit Code Review about 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34985

#3 Updated by Gerrit Code Review about 5 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34985

#4 Updated by Gerrit Code Review about 5 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35011

#5 Updated by Andreas Fernandez about 5 years ago

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

#6 Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed

#7 Updated by Andreas Fernandez 3 months ago

  • Related to Bug #89772: Manage Language Packs — strange overview added

Also available in: Atom PDF