-
- Notifications
You must be signed in to change notification settings - Fork 379
Open
Labels
Status: ProposalRequest for commentsRequest for comments
Description
Clear and concise description of the problem
We're upgrading to v9.x. When translating a string, we want to perform some extra logic on the result, using special tags {tag} to be replaced in the translated result. In V8, the translated value still contained those values, but in V9 it doesn't anymore.
Input: { val: "I am a special {tag} string" }, calling t("val").
V8 result: I am a special {tag} string
V9 result: I am a special string
Suggested solution
Let's add an option to createI18n to toggle between those behaviors globally if it's not there.
Alternative
No response
Additional context
No response
Validations
- Read the Contributing Guidelines
- Read the Documentation
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
JvanderHeide
Metadata
Metadata
Assignees
Labels
Status: ProposalRequest for commentsRequest for comments