public function retrieveTranslationByIdAndLocale($deliveryStatusId, $locale)
    {
        /** @var DeliveryStatusEntity $deliveryStatus */
        $deliveryStatus = $this->deliveryStatusRepository->find($deliveryStatusId);

        if (!$deliveryStatus || $deliveryStatus->getTranslations()->count() < 1) {
            return null;
        }

        $deliveryStatusTranslation = $deliveryStatus->getTranslations()->first();

        /** @var DeliveryStatusTranslation $translation */
        foreach ($deliveryStatus->getTranslations() as $translation) {
            if ($translation->getLocale() === $locale) {
                $deliveryStatusTranslation = $translation;
                break;
            }
        }

        return $deliveryStatusTranslation;
    }