Bug #44099

L10n fallback does not work for TS labels

Added by Xavier Perseguers almost 9 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Category:
Localization
Target version:
-
Start date:
2012-12-18
Due date:
% Done:

100%

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

Description

When retrieving a label in TypoScript (you should have French locales locally, but not French Canadian):

config.language = fr_CA

page = PAGE
page.10 = TEXT
page.10.data = LLL:EXT:lang/locallang_general.xml:LGL.first_name

Fallback is not properly done if the translation (here in fr_CA) is not available. Instead it returns an empty string before 6.0 and the English label in 6.0).


Files

44099_v46.diff (3.1 KB) 44099_v46.diff Xavier Perseguers, 2012-12-20 08:08

Related issues

Related to TYPO3 Core - Bug #43959: Overriding labels through TypoScript does not workClosedMichael Stucki2012-12-13

Actions
Related to TYPO3 Core - Bug #41996: L10n fallback does not work anymore in BEClosedXavier Perseguers2012-10-14

Actions
Related to TYPO3 Core - Bug #44273: L10n fallback does not work for ExtJS in BEClosedXavier Perseguers2013-01-02

Actions
Related to TYPO3 Core - Bug #46688: Bugfix for "L10n fallback" (#44099) does not work for local languages like "at" (Austria)ClosedXavier Perseguers2013-03-26

Actions
Related to TYPO3 Core - Bug #48674: Only limited languages for frontend applications availableClosed2013-05-30

Actions
#1

Updated by Xavier Perseguers almost 9 years ago

  • File 44099_v46.diff added

Patch based on code found in class language ($GLOBALS['LANG']), for TYPO3 4.6.

#2

Updated by Gerrit Code Review almost 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17247

#3

Updated by Gerrit Code Review almost 9 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17247

#4

Updated by Xavier Perseguers almost 9 years ago

  • File deleted (44099_v46.diff)
#5

Updated by Xavier Perseguers almost 9 years ago

Patch for TYPO3 4.6 and 4.7, based on master patch sent to Gerrit for review.

#6

Updated by Gerrit Code Review over 8 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17247

#7

Updated by Gerrit Code Review over 8 years ago

Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/18270

#8

Updated by Gerrit Code Review over 8 years ago

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/18275

#9

Updated by Gerrit Code Review over 8 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at https://review.typo3.org/18276

#10

Updated by Xavier Perseguers over 8 years ago

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

Updated by Gerrit Code Review over 8 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch master_new has been pushed to the review server.
It is available at https://review.typo3.org/18655

#12

Updated by Christian Kuhn over 8 years ago

  • Status changed from Under Review to Resolved
#13

Updated by Benni Mack almost 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF