Project

General

Profile

Actions

Bug #44099

closed

L10n fallback does not work for TS labels

Added by Xavier Perseguers almost 12 years ago. Updated about 6 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 5 (0 open5 closed)

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
Actions #1

Updated by Xavier Perseguers almost 12 years ago

  • File 44099_v46.diff added

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

Actions #2

Updated by Gerrit Code Review almost 12 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

Actions #3

Updated by Gerrit Code Review almost 12 years ago

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

Actions #4

Updated by Xavier Perseguers almost 12 years ago

  • File deleted (44099_v46.diff)
Actions #5

Updated by Xavier Perseguers almost 12 years ago

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

Actions #6

Updated by Gerrit Code Review almost 12 years ago

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

Actions #7

Updated by Gerrit Code Review almost 12 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

Actions #8

Updated by Gerrit Code Review almost 12 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

Actions #9

Updated by Gerrit Code Review almost 12 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

Actions #10

Updated by Xavier Perseguers almost 12 years ago

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

Updated by Gerrit Code Review over 11 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

Actions #12

Updated by Christian Kuhn over 11 years ago

  • Status changed from Under Review to Resolved
Actions #13

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF