Open
Description
Hi,
translate.instant allows to pass an array of keys to get multiple strings at the same time. If the strings have the same parameter name, there is no way no pass a different value for each string.
This is a sample json:
{
"string1": "test {{name}}",
"string2": "test2 {{name}}"
}
let strings = translate.instant(['string1', 'string2'], { name: 'sample' });
Is there a way to pass a different value for name parameter to string1 and string2?