Submitted by
Dmitro
on
$connection = \Drupal::service('database');
$connection->update('locales_target')
->fields([
'customized' => 0,
])
->execute();
$connection->delete('key_value')
->condition('collection', 'locale.translation_status')
->execute();
$connection->update('locale_file')
->fields([
'timestamp' => 0,
'last_checked' => 0,
])
->execute();