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 working with already interpolated strings and translateParams directive #253

Open
djechelon opened this issue Jan 5, 2022 · 0 comments

Comments

@djechelon
Copy link

I am new to ngx-translate, so please forgive if I am making some mistakes.

I have to internationalize a parametric string that is interpolated

{{lengthPlanning}} Results

I wanted to use translateParams from the ngx-translate project and changed into this

{{lengthPlanning}} Results

But ng-translate-extract could not extract this into a key.

I found a workaround, by defining a non-interpolated key

No. Results

But I don't know if this is wanted or undocumented.

Thanks for support

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

1 participant