productRepository->getById($entityId)->getName(); } public function getEditUrlPath(): string { return 'catalog/product/edit'; } public function getEditIdParam(): string { return 'id'; } public function getFields(int $entityId, array $targetStoreIds = []): array { return $this->fieldProvider->getFields($entityId, $targetStoreIds); } public function apply(int $entityId, array $storeIds, array $fields): array { $updated = $this->translationApplier->apply($entityId, $storeIds, $fields); return [ 'updated' => $updated, 'message' => __('Translations applied to %1 store view(s).', $updated)->render(), ]; } }