Since 10.2.1 update (updated from 10.1.6), drush locale:check fails with error :
PHP Fatal error: Cannot redeclare locale_translation_batch_version_check() (previously declared in /var/www/html/web/core/modules/locale/locale.batch.inc:40) in /var/www/html/web/core/modules/locale/locale.batch.inc on line 97
The function is indeed declared twice since
https://git.drupalcode.org/project/drupal/-/merge_requests/5616/diffs
from this issue
https://www.drupal.org/project/drupal/issues/2575945
π
A new module version is not recognized by interface translation update.
Fixed
Update to 1.0.2.1 and run drush locale:check
Refactor locale.batch.inc
Closed: works as designed
10.2 β¨