We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For a translation like Hello {0}, how are you?, we need to pass the {0} as a parameter to the L function. Currently, it is no possible.
Hello {0}, how are you?
{0}
L
A good implementation can be like that:
{{ L "HelloKey" "John" }}
or (using a model property)
{{ L "HelloKey" model.name }}
which produces Hello John, how are you?
Hello John, how are you?
If it can be implemented, also update the document.
The text was updated successfully, but these errors were encountered:
"L" function in the text template rendering system should support par…
46d0d4e
…ametric text. Resolve #3977
maliming
Successfully merging a pull request may close this issue.
For a translation like
Hello {0}, how are you?
, we need to pass the{0}
as a parameter to theL
function. Currently, it is no possible.A good implementation can be like that:
or (using a model property)
which produces
Hello John, how are you?
If it can be implemented, also update the document.
The text was updated successfully, but these errors were encountered: