Problem/Motivation
After enabling English (not translatable) in a working site, I get daily a lot of messages: Translation file not found.
Steps to reproduce
- Create a new D9.4.x site and install it with Dutch (or any lanuage).
- No other languages are enabled.
- After setting up the site with some additional modules and using it for some time.
- Enable English as extra language.
- Make sure translate_english is set to false in locale.settings.yml
At every cron run you will now get lots of messages: Translation file not found. And all appears to be for English translations like: Translation file not found: https://ftp.drupal.org/files/translations/all/token/token-8.x-1.9.en.po.
These will appear daily even when the 'Check for updates' setting is: weekly.
Proposed resolution
in install.core.inc, fetch translatable languages only instead of all languages.