vue-i18n icon indicating copy to clipboard operation
vue-i18n copied to clipboard

Improve docs

Open volarname opened this issue 2 years ago • 1 comments
trafficstars

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

volarname avatar Apr 05 '23 22:04 volarname

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 :)

kazupon avatar Apr 06 '23 02:04 kazupon