Support interpolation options "prefix" and "suffix"
See original GitHub issueThe readme says “All other i18next options can be passed in as well”, but when I pass in interpolation options “prefix” and “suffix”, it just stops working. Are these options supported?
interpolation: {
prefix: '%{',
suffix: '}',
}
Thanks for your help.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Support interpolation options "prefix" and "suffix" #620 - GitHub
We could check for the existence of interpolation.prefix and interpolation.suffix and insert those values if they exist into the default value ...
Read more >Interpolation - i18next documentation
Interpolation is one of the most used functionalities in I18N. ... Prefix/Suffix for interpolation and other options can be overridden in the init...
Read more >IDE0071: Simplify interpolation - .NET - Microsoft Learn
Simplify interpolation (IDE0071) This style rule concerns with simplification of interpolated strings to improve code readability. It ...
Read more >StringSubstitutor (Apache Commons Text 1.10.0 API)
This class takes a piece of text and substitutes all the variables within it. The default definition of a variable is ${variableName} ....
Read more >10.2. Parameter Substitution
If suffix of var matches Pattern, then substitute Replacement for Pattern. Example 10-13. Matching patterns at prefix or suffix of string. #!/bin/bash #...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Any idea how to support this format :item?
i try to put prefix as “:” and suffix as “” and it doesn’t work. Any idea?
Glad to help.