Project

General

Profile

Actions

Bug #88379

closed

Not possible to configure projects with Multiple-Trees concept

Added by Jessica Jagodzinski over 5 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2019-05-17
Due date:
% Done:

0%

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

Description

Hello,

we have a multiple-tree TYPO3 (one tree for each language) and want to update it to TYPO3 9. It's not possible to configure the correct languages for each tree.

The site config looks like this:

rootPageId: 25110
base: 'https://www.test.de/'
languages:
  -
    title: German
    enabled: true
    languageId: '0'
    base: /
    typo3Language: de
    locale: de_DE.utf-8
    iso-639-1: de
    navigationTitle: ''
    hreflang: ''
    direction: ''
    flag: de
errorHandling: {  }
routes: {  }

It seems to work fine, but it's not possible to set the language for the english page tree. So you can set only the same language for both trees.
In older TYPO3 Version this was no problem, because you set the language with TypoScript.

It would be great to have the possibility back to use TypoScript to define the language or an other way to configure this.


Files

Actions #1

Updated by Andreas Kienast over 5 years ago

  • Status changed from New to Needs Feedback

Hi,

indeed, the sites concept is quite different here. The TypoScript settings are already partially removed in upcoming v10, so adding them again is no option.

Could you please try to set each of your pages (de and en) as "Use as Root Page" and add a proper configuration via the "Sites" modules? Does that solve your issue?

Actions #2

Updated by Josef Glatz over 5 years ago

  • Description updated (diff)
Actions #3

Updated by Jessica Jagodzinski over 5 years ago

Andreas Fernandez wrote:

Hi,

indeed, the sites concept is quite different here. The TypoScript settings are already partially removed in upcoming v10, so adding them again is no option.

Could you please try to set each of your pages (de and en) as "Use as Root Page" and add a proper configuration via the "Sites" modules? Does that solve your issue?

Hello,

we tried this way, but it doesn't work. It only works for one language, because both configs have the same language base path.
The question is also how a proper configuration would look like...
If you have you have a root page for each language, the base is the same for both. (This will not be possible in the future https://forge.typo3.org/issues/87533)

If we set a base path for each language it seems to work, but then we would have urls like
www.test.de/de/de
www.test.de/en/en
and this no solution.

Actions #4

Updated by Susanne Moog over 5 years ago

Have you tried setting the following:

- First Site (german)
-- Base: test.de/de/
--- Language Base (Default Language): /
- Second Site (english)
-- Base: test.de/en/
--- Language Base (Default Lang): /

(so different bases for different sites with only a slash as lang base)

Actions #5

Updated by Jessica Jagodzinski over 5 years ago

Yes, but it change nothing to the urls:

www.test.de/de/de
www.test.de/en/en

Actions #6

Updated by Christian Eßl about 5 years ago

  • Category set to Site Handling, Site Sets & Routing
Actions #7

Updated by Susanne Moog over 4 years ago

Please combine the proposals in previous comments, you should test with:

Two site configurations, one on your sub-tree "de", one on your sub-tree "en". (Both pages need to have is-siteroot)
Base path in each site set to "test.de/de/" for the first tree, "test.de/en/" for the second tree.
In both site configurations, configure default language to "/".
NO site configuration on the top most site.

Actions #8

Updated by Jessica Jagodzinski over 4 years ago

Thank you. I will test it.

Actions #9

Updated by Benni Mack almost 3 years ago

  • Status changed from Needs Feedback to Closed

Will close the issue, as there hasn't been any feedback in the past 2 years, I guess the problem is solved.

Actions

Also available in: Atom PDF