如何为多域TYPO3 v9设置BaseVariant?
类型3 9.5.5 我有一个多域网站,使用多个页面树和每个树几种语言的组合。我有一个页面树以德语提供内容。此选项可在domain.de、domain.at和domain.ch上找到。然后是domain.com、domain.nl等的更多树(因为不同语言的内容结构有很大差异) 现在我想为本地开发和后台服务器设置BaseVariant。我有这样一个站点配置:如何为多域TYPO3 v9设置BaseVariant?,typo3,typo3-9.x,Typo3,Typo3 9.x,类型3 9.5.5 我有一个多域网站,使用多个页面树和每个树几种语言的组合。我有一个页面树以德语提供内容。此选项可在domain.de、domain.at和domain.ch上找到。然后是domain.com、domain.nl等的更多树(因为不同语言的内容结构有很大差异) 现在我想为本地开发和后台服务器设置BaseVariant。我有这样一个站点配置: rootPageId: 1 base: / baseVariants: - base: 'https://domain-de.lo
rootPageId: 1
base: /
baseVariants:
-
base: 'https://domain-de.local/'
condition: 'applicationContext == "Development"'
languages:
-
title: Deutsch
enabled: true
languageId: '0'
base: 'https://www.domain.de/'
typo3Language: de
locale: de_DE.UTF-8
iso-639-1: de
navigationTitle: Deutschland
hreflang: de-DE
direction: ltr
flag: de
-
title: Österreichisch
enabled: true
languageId: '1'
base: 'https://www.domain.at/'
typo3Language: de
locale: de_AT.UTF-8
iso-639-1: de
navigationTitle: Österreich
hreflang: ''
direction: ltr
fallbackType: strict
flag: at
就我对后端GUI的理解而言,我只能将顶级的基于域的变体定义为主要入口点,下面的所有内容都可以由路径控制,比如
/de/
,/at/
等等,对吗?在我的设置中,我需要“”,但如何设置此变体的目标系统语言uid(因为它们都指向第一页树的默认语言)?此功能无法通过GUI实现,但可以直接添加到yaml文件中
rootPageId: 1
base: /
baseVariants:
-
base: 'https://domain-de.local/'
condition: 'applicationContext == "Development"'
languages:
...
-
title: Austrian
enabled: true
languageId: '1'
base: 'https://www.domain.at/'
baseVariants:
-
base: 'https://domain-at.local/'
condition: 'applicationContext == "Development"'
typo3Language: de-AT
在哪里可以找到此功能的文档?至少,你看不到这件事