Delete project entries from the status cache.
array $projects: Project name(s) to be deleted from the cache.
function locale_translation_status_delete_projects($projects) {
$status = Drupal::state()
->get('locale.translation_status');
foreach ($status as $project => $languages) {
if (in_array($project, $projects)) {
unset($status[$project]);
}
}
Drupal::state()
->set('locale.translation_status', $status);
}