src/Translation/Validator/ValidValidator.php
public function validate($value, Constraint $constraint)
    {
        if (!$value instanceof Translatable) {
            throw new LogicException('Value is not translatable while trying to validate translations.');
        }

        $locales = [];

        foreach ($value->getTranslations() as $translation) {
            $locales[] = $translation->getLocale();
        }

//        $this->context
//            ->buildViolation($constraint->getMessage())
//            ->atPath('')
//            ->addViolation();
    }
public function validate($value, Constraint $constraint)
    {
        if (!$value instanceof Translatable) {
            throw new LogicException('Value is not translatable while trying to validate translations.');
        }

        $locales = [];

        foreach ($value->getTranslations() as $translation) {
            $locales[] = $translation->getLocale();
        }

//        $this->context
//            ->buildViolation($constraint->getMessage())
//            ->atPath('')
//            ->addViolation();
    }
Validate value

@param mixed $value
@param \Symfony\Component\Validator\Constraint $constraint