vue-i18n
vue-i18n copied to clipboard
Support changing special characters
trafficstars
Clear and concise description of the problem
According to the docs there are certain special characters (e.g. used for interpolation) which get evaluated by the compiler: https://vue-i18n.intlify.dev/guide/essentials/syntax.html#special-characters
Unfortunately this conflicts with the existing translations I get from our backend where other characters are used for interpolation.
Suggested solution
Support changing the special characters via configuration similar to i18next (prefix & suffix): https://www.i18next.com/translation-function/interpolation#additional-options
Alternative
The only alternative in my case would be to transform the translations I receive from our backend to match the vue-i18n format which doesn't really seem be an acceptable solution.
Additional context
No response
Validations
- [X] Read the Contributing Guidelines
- [X] Read the Documentation
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.