i have an angular 7 project with multi languages and i have also the validation messages translated in the i18n files so i am facing a problem with the length validation message which should be "this field must be less than xxx characters" as example some fields this length is 8 chars and other fields this length is 10 chars and so on.
so i want to find a way to make the validation message some how take a param and put this param in the message like i send that this field length is 10 chars and the validation message will be "this field must be less than 10 characters"