translations = Edition::Translation.where(locale: "pa-ur")

translations.update_all(locale: "pa-pk")

document_ids = Edition.distinct.where(id: translations.select(:edition_id)).pluck(:document_id)

document_ids.each do |id|
  PublishingApiDocumentRepublishingWorker.perform_async_in_queue("bulk_republishing", id)
end

Migrate translations from unsupported pa-ur locale to pa-pk
Migrate translations from unsupported pa-ur locale to pa-pk

Co-authored-by: Peter Hartshorn <1117c31d7ee48714d5fa71842e06c8443afb8c81@digital.cabinet-office.gov.uk>
