Bug #87950

No language fallback

Added by Roman Büchler 4 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2019-03-19
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

A basic site has been set up according the basic fluid template description found at https://docs.typo3.org/typo3cms/TemplatingTutorial/BasicFluidTemplates/Index.html#a-single-column-page-design.

As website languages German is used as default and French (uid=1) as second language. A page having the default language assigned to has one content element having the default language assigned to as well. A French page has been created from the German page without having any content. In the site configuration the content fallback has been set for that German should be used in case no translation exists. When looking up the French page (../fr/) the German content is not shown.

In case the language assignment for the content element on the German page is changed to [ALL], it shows up on the French page but doesn't on the German page.

The site configuration looks as following:

rootPageId: 1
base: 'http://delme.buechler.pro/'
baseVariants: {  }
languages:
  -
    title: Deutsch
    enabled: true
    languageId: '0'
    base: /
    typo3Language: de
    locale: de_DE.UTF-8
    iso-639-1: de
    navigationTitle: Deutsch
    hreflang: de-DE
    direction: ltr
    flag: de
  -
    title: Français
    enabled: true
    languageId: '1'
    base: /fr/
    typo3Language: fr
    locale: fr_FR.UTF-8
    iso-639-1: fr
    navigationTitle: Français
    hreflang: fr-FR
    direction: ltr
    fallbackType: fallback
    fallbacks: '0'
    flag: fr
errorHandling: {  }
routes: {  }

Related issues

Related to TYPO3 Core - Bug #86972: All Language Content Element are not displayed in default language Closed 2018-11-22
Related to TYPO3 Core - Bug #87749: content elements with language "all languages -1" not working in default language Closed 2019-02-20
Related to TYPO3 Core - Bug #87093: TYPO3 9.5: CONTENT TypoScript object type does not select records with language set to -1 Closed 2018-12-06

History

#1 Updated by Benni Mack 4 months ago

  • Status changed from New to Needs Feedback

Hi,

could you try latest 9.5.x dev - we've fixed this here https://review.typo3.org/c/Packages/TYPO3.CMS/+/60192

#2 Updated by Benni Mack 4 months ago

  • Related to Bug #86972: All Language Content Element are not displayed in default language added

#3 Updated by Benni Mack 4 months ago

  • Related to Bug #87749: content elements with language "all languages -1" not working in default language added

#4 Updated by Benni Mack 4 months ago

  • Related to Bug #87093: TYPO3 9.5: CONTENT TypoScript object type does not select records with language set to -1 added

#5 Updated by Riccardo De Contardi 3 months ago

Either I am doing something wrong, or this issue is still present on 9.5.5 (But not on 10.0.0-dev):

my procedure:

1) create a page in default language (italian)
2) translate it into english (language with id=1)
3) create a content element in italian and set language=ALL (-1)
4) in the site configuration set (for english):

    fallbackType: fallback
    fallbacks: '0'

Results:

the content element is visible only in english.

See also https://forge.typo3.org/issues/22406#note-13

#6 Updated by Henri Nathanson 3 months ago

Same here.

#7 Updated by Henri Nathanson 3 months ago

kommt in Version 9.5.6

#8 Updated by Roman Büchler 2 months ago

Benni Mack wrote:

Hi,

could you try latest 9.5.x dev - we've fixed this here https://review.typo3.org/c/Packages/TYPO3.CMS/+/60192

Hi Benni, I tested it with 9.5.6 and it looks good now. Thank you very much.

#9 Updated by Susanne Moog 2 months ago

  • Status changed from Needs Feedback to Closed

Thanks for checking, closing it as solved :)

Also available in: Atom PDF