I want to use regex in i18n file, something like below:
"device /some dynamic word/ is here": "دستگاه /some dynamic word/ اینجاست"
And when using a key like below:
{{"device x33 is here"|translate}}
It should be translate to:
دستگاه x33 اینجاست
I read several approach for this issue, one of the best way is to use Args in translate pipe. But it's not possible to change any file except i18n file. Is there any way?