Creating a validation constraint for translatable string
We use translatable strings for labels and name which must be translatable to different languages, for associations which need it.
(see TransalatableStringHelper and Templating/TranslatableStringTwig.php )
We should create a ValidationConstraint to test that those string have :
- a minimal length ;
- a maximal length ;
Currently, we are not able to check the validation of those strings.