Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 298122

Drupal install throwing "Translation file not found" notice for "en" langcode when "translate_english" is set to false

$
0
0

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.


Viewing all articles
Browse latest Browse all 298122

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>