Description
Symfony version(s) affected: 2.7+
Description
TransChoice invalide plural translation
see https://github.com/symfony/symfony/blob/2.7/src/Symfony/Component/Translation/MessageSelector.php#L81
How to reproduce
Try to transchoice a failed plural translation (with missing portion)
Possible Solution
Replace exception by critical/error log?
Additional context
The context is that we may have non tech users that translate those translations (eg: web based GUI, software, etc) and they can make some human errors.
Then we extract those data to inject them into our application
We do have some tools to check the translation format etc, but this one is particular
and it should (must?) be non critical for production IMO
What do you think?
Does this ex have been coded on purpose?
Does symfony dev implements an ex listener to catch this very specific error to handle it?
May thanks