i18n-polyfill icon indicating copy to clipboard operation
i18n-polyfill copied to clipboard

not able to set customId

Open sachingavas99 opened this issue 6 years ago • 1 comments

I am facing an error while defining customId as "Missing translation for message "customId" ("[ERROR ->]Some value"): 0:0" below is my code ... ... constructor( private elm: ElementRef, private i18n: I18n ) { this.customId = this.i18n({id: "customId", value: "Some value", description: "Custom desc", meaning: "Custom meaning"}); }

Please help

sachingavas99 avatar Jun 25 '18 15:06 sachingavas99

The error message you pasted says 'Missing translation for message "customId"' which makes it sound like you just need to add the translation in your xlf file by adding 'target' tags. Please give more info or a concrete example (files) if that's not the case.

JacobSiegle avatar Nov 12 '18 14:11 JacobSiegle