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
Lets say you want to translate "Passenger" as well as "Remove passenger". And let's say passengers are not the only thing you want to remove (i.e. images, links etc.).
Currently, what you have to do (it seems), is to add a source key for every scenario:
Clear and concise description of the problem
Lets say you want to translate "Passenger" as well as "Remove passenger". And let's say passengers are not the only thing you want to remove (i.e. images, links etc.).
Currently, what you have to do (it seems), is to add a source key for every scenario:
And you would use it like so:
$t("remove.passenger")
.But that seems awfully redundant!
Suggested solution
What if, instead, you could
lowercase
interpolated strings.And you would use it like so
$t("remove", { value: $t("passenger") } )
Alternative
No response
Additional context
This would open up endless possibilities, especially for custom modifiers
Validations
The text was updated successfully, but these errors were encountered: