I've created a commmando which needs pluralization to send some emails
//without pluralization works fine
//$body = $this->translator->trans('expiration.password.reminder.body', $email_params, 'emails');
$body = $this->translator->transChoice('expiration.password.reminder.subject', 102,[], 'emails');
this is the message to translate ans pluralize
expiration.password.reminder.body: '<p>Dear %name% %surname%,</p>Your password is going to expire in %$day_to_remind% days.
but in the sent email the shown text is not complete:
Your password is going to expire
I don't know what is wrong, anyone know a way which works on symfony3.4 and is not deprecated at symfony4.4?