Project

General

Profile

Actions

Bug #87160

closed

Creating site config breaks language processing in news and vhs extensions

Added by Jan Slusarczyk almost 6 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2018-12-14
Due date:
% Done:

100%

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

Description

Typo3 9.5.3
Recent versions of tx_news and vhs.

Simple test site with few pages and a basic setup of news (storage folder, list, detail page separate).
One page set up with Hide default translation of page (to be visible only in the other language).
Few news articles - some of them written in default and translated, some of them written in non-default language (so they do not have a parent in default language).

Language settings in typoscript:

config {
   linkVars = L(0-1)

   sys_language_uid = 0
   language = pl
   locale_all = pl_PL.UTF-8
   htmlTag_langKey = pl

   sys_language_mode = content_fallback
   sys_language_overlay = 0
}

[globalVar = GP:L = 1]
config {
   sys_language_uid = 1
   language = en
   locale_all = en_US.UTF-8
   htmlTag_langKey = en-US
}
[END]

I have tested this setup in 8.7.21 and in 9.5.1-9.5.3 and ut works as I want. I can see a working link in vhs generated menu (v:menu.directory) to the english only page, and when I enter news list I can see both news items translated from default and those written in english (without default translation). Setting sys_language_overlay = 1 hides those news elements but the vhs menu is still working fine.

But if I generate a site config - no matter the fallback mode - strict, fallback, fallback;0,1 here's what is happening:
- I can only see news items with default translation. items without default language do not exist.
- v:menu.directory menu has a title but no link to the english only page (object passed as menu has linkTitle but no link value)
I have tried every setting I could think of and it stays this way.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #88372: Extbase QuerySettings ignores SiteConfiguration language settingsClosed2019-05-16

Actions
Related to TYPO3 Core - Bug #88784: Record language is incorrectly changed to default language in overlayLanguageAndWorkspaceClosedBenni Mack2019-07-16

Actions
Actions

Also available in: Atom PDF