nuxt-modules / i18n

I18n module for Nuxt
https://i18n.nuxtjs.org
MIT License
1.65k stars 465 forks source link

feat: support loading files from npm packages #3003

Open markbrockhoff opened 3 days ago

markbrockhoff commented 3 days ago

๐Ÿ”— Linked issue

Related: #2999

โ“ Type of change

๐Ÿ“š Description

As proposed in #2999, I created a basic implementation for loading translation files form npm packages. This gives more flexibility in reusing and distributing translations. The feature should be especially useful for module / library authors wanting to provide translations which can be used to integrate with @nuxtjs/i18n.

๐Ÿ“ Checklist