Review main Merged

59676[BUGFIX] Fix fallback language handling

Andreas Kienast CR +2 V +2 Expert +1758 −110 updated 03/04/19, 15:25

Commit message

This commit solves some issues regarding language fallback handling:

- Resolve correct page for a localized variant respecting fallbacks
  The Page Router now respects the configured language fallback chain
  and tries to find a matching page candidate per language.

- Metadata of page (e.g. page title)
  TSFE now respects the reconfigured language content id in case the
  language fallback is active and resolves the correct data.

- Respect existing localizations in menu rendering
  PageRepository, used by the menu, now respects the language fallback
  chain and finds suitable localized pages.
  However, this does not resolve all issues with shortcut pages.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 3

Files 19