We should implement a fallback from a language variant without existing configuration to another language code that has one, or to undefined if none can be found.

For example, assuming that "en" and "de" are configured:
"de-at-custom" -> "de"
"de-at" -> "de"
"talk-like-a-pirate" -> und

TODOs:
* Remove some old code and configs
* Implement language fallback as described, especially make sure it does not crash when a new language without default configuration is added but not configured (yet).
* Add tests

CommentFileSizeAuthor
#3 2755869.patch31.17 KBmkalkbrenner

Comments

cspitzlay created an issue. See original summary.

mkalkbrenner’s picture

Title: Implement Language Fallback » Implement Language Fallback on Solt Index Level
Assigned: Unassigned » mkalkbrenner
mkalkbrenner’s picture

Status: Active » Needs review
StatusFileSize
new31.17 KB

  • mkalkbrenner committed 759e1da on 8.x-1.x
    Issue #2755869 by mkalkbrenner: Implement Language Fallback on Solr...
mkalkbrenner’s picture

Title: Implement Language Fallback on Solt Index Level » Implement Language Fallback on Solr Index Level
Issue tags: +Needs tests

  • mkalkbrenner committed 3c7b947 on 8.x-1.x
    Issue #2755869 by mkalkbrenner: Implement Language Fallback on Solr...
mkalkbrenner’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.