Wrong default filter list if pre-installed language-specific filter list does not exists

Environment

  • Windows 10
  • ABP release 3.9.5 (latest)
  • reproduced on Chrome (latest and minimum supported version), latest Opera and Firefox. Did not try other browsers/versions, since it does not appear to be browser specific.

How to reproduce

  1. Change your browser UI language to a language, that does not have its own default subscription, for example Slovenian or Croatian (or any locale not on this list: https://gitlab.com/eyeo/adblockplus/adblockpluscore/-/blob/master/data/subscriptions.json)
  2. Install ABP 3.9.5
  3. Open the settings page and observe the installed filter list in the language section of the general tab

Observed behavior

Bahasa Indonesia, Melayu + English (ABPindo+EasyList) filterlist is installed by default.

Expected behavior

IMO, English (EasyList) should be installed in case the extension does not have a language-specific filter list preinstalled for the chosen language.

Edited by Ursa Kacar