I18n Lazy loading
riderx opened this issue · comments
Martin DONADIEU commented
Clear and concise description of the problem
Currently, the translation are all loads on the plugin init, where the chances needed them all is low.
As you can see in my screenshot it's 15% of my index file.
Suggested solution
What I would suggest is to follow the recommendation about lazy load in vue-i18n https://kazupon.github.io/vue-i18n/guide/lazy-loading.html
I'm trying to understand how to do it with yml file.
If I find the solution, I will do a PR, meanwhile, if someone knows how to do it, I'm
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.