You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which Transloco package(s) will this feature affect?
Transloco
Is your feature request related to a problem? Please describe
No response
Describe the solution you'd like
With a proper pattern, we could easily extend the getValue mechanism to support js function calls on params (eg. String.charAt, String.lowercase, ...) which would give more flexibility in the translation eliminating the needs of preprocessing in angular component html and/or ts.
Describe alternatives you've considered
An alternative would be to use FunctionalTranspiler, and redeclare register needed javascript functions there.
Additional context
No response
I would like to make a pull request for this feature
Yes 🚀
The text was updated successfully, but these errors were encountered:
f-aubert
changed the title
Feature(scope): allow method calls with transpiled arguments in DefaultTranspiler (#xxx)
Feature(scope): allow method calls with transpiled arguments in DefaultTranspiler
Jan 15, 2025
f-aubert
pushed a commit
to f-aubert/transloco
that referenced
this issue
Jan 15, 2025
Is there an existing issue for this?
Which Transloco package(s) will this feature affect?
Transloco
Is your feature request related to a problem? Please describe
No response
Describe the solution you'd like
With a proper pattern, we could easily extend the getValue mechanism to support js function calls on params (eg. String.charAt, String.lowercase, ...) which would give more flexibility in the translation eliminating the needs of preprocessing in angular component html and/or ts.
Describe alternatives you've considered
Additional context
No response
I would like to make a pull request for this feature
Yes 🚀
The text was updated successfully, but these errors were encountered: