vue-i18n
vue-i18n copied to clipboard
Improve docs
Clear and concise description of the problem
There are too many issues and discussion regarding to interpolation and messages formatting with named params or list.
Suggested solutions from several people is to use runtimeOnly: false config for i18n plugin.
Its not listed on documentation site, its not clear if when you want to use interpolation / messages formatting with named params or list, you need to always set this option to use runtime version of library and mention whats the real inpact on performance.
Suggested solution
My sggestion is to update this site: https://kazupon.github.io/vue-i18n/guide/formatting.html#named-formatting
and if its really needed to use this feature to use runtimeOnly: false config for plugin, put it there and explain
Alternative
No response
Additional context
i will be more than happy to support you when this will be clarified and put to documentation so there will be no more xyz discussions and issues about this.
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.
Thank you for your feedback!
I'd love to improve the documentation too, but I'm busy supporting and developing the ecosystem around vue, like nuxt i18n module.
vue-i18n and intlfy project is a community based open source project. I'm always open to PR from the community :)