locale_modules_installed() does not update translations after new modules are installed

Created on 29 March 2017, almost 8 years ago
Updated 27 June 2023, over 1 year ago

The purpose of locale_modules_installed() is updating translations after new modules are installed.
It calls locale_system_update($components), which creates a batch with batch_set(), but it is not called in a form context and there is no batch_process() call

.

This means that locale_modules_installed() does not update translations for any installed module.

๐Ÿ› Bug report
Status

Active

Version

11.0 ๐Ÿ”ฅ

Component
Localeย  โ†’

Last updated 4 days ago

Created by

๐Ÿ‡ณ๐Ÿ‡ฑNetherlands undertext

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024