Issue Bug Closed

#84669Sites: Any-Domain configuration can not resolve language

Benjamin Kott 04/08/18, 17:18 updated 09/07/18, 21:29

Description

When using anydomain configuration TYPO3 is unable to determine the correct language.

Actual behavior:

- https://typo3.localhost/en/ – shows english language
– https://typo3.localhost/de/ – shows english language
– https://typo3.localhost/da/ – shows english language

Expected behavior:

- https://typo3.localhost/en/ – shows english language
– https://typo3.localhost/de/ – shows german language
– https://typo3.localhost/da/ – shows dansk language

Example Configuration:

site:
  rootPageId: 1
  base: '/'
  languages:
    -
      languageId: '0'
      title: English
      navigationTitle: English
      base: /en/
      locale: en_EN.UTF8
      iso-639-1: en
      hreflang: en-US
      direction: ltr
      typo3Language: default
      flag: us
    -
      languageId: '2'
      title: German
      navigationTitle: Deutsch
      base: /de/
      locale: de_DE.UTF8
      iso-639-1: de
      hreflang: de-DE
      direction: rtl
      typo3Language: de
      flag: de
      fallbackType: fallback
      fallbacks: '0'
    -
      languageId: '1'
      title: Dansk
      navigationTitle: Dansk
      base: '/da/'
      locale: da_DK.UTF-8
      iso-639-1: da
      hreflang: da-DK
      direction: ltr
      typo3Language: da
      flag: dk
      fallbackType: strict
  errorHandling: {  }

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.