Project

General

Profile

Actions

Bug #69125

closed

language_alt only works for pibase and extbase plugins

Added by Anonymous over 8 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2015-08-17
Due date:
% Done:

0%

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

Description

config.language_alt only seems to work when using the pibase and extbase API (those are at least to only spots within the core that contain the string "language_alt"!) and not when rendering LLL via TS.

Related to #32214


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #67005: $instance->localeDependencies is not filled properly in FLUIDTEAMPLATEClosed2015-05-18

Actions
Related to TYPO3 Core - Bug #32214: language_alt doesn't workClosedBenni Mack2011-11-30

Actions
Actions #1

Updated by Riccardo De Contardi over 8 years ago

  • Status changed from New to Needs Feedback

Philip, can you tell us if this is still true on 6.2.15 or 7.6 (latest master)? Or can you give instructions about how to reproduce the problem? Thank you!

Actions #2

Updated by Anonymous over 8 years ago

config.language_alt is described in TSref as follows:
If “config.language” (above) is used, this can be set to another language key which will be used for labels if a label was not found for the main language. For instance a brazil portuguese website might specify “pt” as alternative language which means the portuguese label will be shown if none was available in the main language, brazil portuguese. This feature makes sense if one language is incompletely translated and close to another language.

The following snippet should result in a dutch translation (since it's the language_alt for missing german labels) but still shows the english original:

page.config {
    language         = de
    language_alt     = nl
}

page.5 = TEXT
page.5 {
  value = This is English!
  #lang.de = Das ist Deutsch!
  lang.nl = Het is Nederlands!
}

If page.5 was a Extbase plugin using fluid translation viewhelpers this would work though.

I used 6.2.15 when testing the snippet above.

Actions #3

Updated by Riccardo De Contardi over 8 years ago

  • Status changed from Needs Feedback to New
Actions #4

Updated by Riccardo De Contardi almost 8 years ago

  • Category set to Localization
Actions #5

Updated by Riccardo De Contardi about 4 years ago

This issue seems still present on 10.3.0-dev; tested with the same snippet on comment 2.

Actions #6

Updated by Benni Mack about 4 years ago

  • Related to Bug #67005: $instance->localeDependencies is not filled properly in FLUIDTEAMPLATE added
Actions #7

Updated by Benni Mack about 4 years ago

  • Related to Bug #32214: language_alt doesn't work added
Actions #8

Updated by Christian Kuhn over 1 year ago

  • Status changed from New to Closed

Closing here: config.language_alt has been removed with v10.

Actions

Also available in: Atom PDF