ngx-translate-extract
ngx-translate-extract copied to clipboard
The parser can't get expression for PipeParser
Hi! If I use Translate pipe for component input definition, extractor don't add a string in locale json.
Here is output of parseTemplate function:
As you can see, the first expression parsed is "ACCOUNT.TOKEN.IDS_TOKEN_PASSWORD_INPUT_TITLE" string, but in the template "ACCOUNT.TOKEN.IDS_TOKEN_TTL_INPUT_TITLE" string is higher
It will work if I will use plain interpolation template:
but that isn't thing I want to use, and I'm pretty sure it use to work. Plain "{{" "}}" template works because angular parser, using behind the scene, use a default InterpolationConfig like { start: "{{", end: "}}"}
@biesbjerg is there way to use regular input value definition with translate pipe
or I've missed something important?
Thanks!