Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not able to set customId #32

Open
sachingavas99 opened this issue Jun 25, 2018 · 1 comment
Open

not able to set customId #32

sachingavas99 opened this issue Jun 25, 2018 · 1 comment

Comments

@sachingavas99
Copy link

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

@JacobSiegle
Copy link
Contributor

JacobSiegle commented Nov 12, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants