Task #26519

Language handling: splitLabels and locallang.php should be removed

Added by Benni Mack over 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Could have
Assignee:
Category:
-
Target version:
-
Start date:
2011-04-29
Due date:
% Done:

100%

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

Description

The TYPO3 core currently handles three types of language labels:

1) splitlabels (very very old).

Based on the constant TYPO3_languages, a string is split by |. The only use was the loginLabels but this was changed in 4.3, so they only act as fallback right now.

2) locallang.php (very old)

An array for each language in a .php file.

3) locallang.xml (currently used)

An XML file with labels.

I urge to remove 1) and also disable 2) as we should clean up this mess of translation stuff.


Related issues

Related to TYPO3 Core - Bug #23436: Deprecate usage of $TYPO3_CONF_VARS[BE][loginLabels]Closed2010-08-23

Actions
Related to TYPO3 Core - Task #27941: Add check in reports module concerning outdated localconf.php settingsClosed2011-07-07

Actions
Precedes TYPO3 Core - Bug #29490: Hardcoded labels are cleared by language classRejectedAndreas Wolf2011-09-05

Actions
#1

Updated by Mr. Hudson over 9 years ago

Patch set 1 of change Idd6905776af755cf54258fe6723ca1226816655d has been pushed to the review server.
It is available at http://review.typo3.org/3058

#2

Updated by Mr. Hudson over 9 years ago

Patch set 2 of change Idd6905776af755cf54258fe6723ca1226816655d has been pushed to the review server.
It is available at http://review.typo3.org/3058

#3

Updated by Oliver Hader over 9 years ago

  • Tracker changed from Bug to Task
#4

Updated by Mr. Hudson over 9 years ago

Patch set 3 of change Idd6905776af755cf54258fe6723ca1226816655d has been pushed to the review server.
It is available at http://review.typo3.org/3058

#5

Updated by Mr. Hudson over 9 years ago

Patch set 4 of change Idd6905776af755cf54258fe6723ca1226816655d has been pushed to the review server.
It is available at http://review.typo3.org/3058

#6

Updated by Mr. Hudson over 9 years ago

Patch set 5 of change Idd6905776af755cf54258fe6723ca1226816655d has been pushed to the review server.
It is available at http://review.typo3.org/3058

#7

Updated by Xavier Perseguers over 9 years ago

  • Status changed from New to Resolved
  • Target version changed from 4.6.0-beta1 to 1281
  • % Done changed from 0 to 100

Change has been successfully cherry-picked as 1526d4de16d5a530a72029fb4f8c9c182b63b065.

#8

Updated by Xavier Perseguers over 8 years ago

  • Status changed from Resolved to Closed
#9

Updated by Ernesto Baschny over 7 years ago

  • Target version deleted (1281)

Also available in: Atom PDF