You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lazy loading feature only applies to locale files configured in nuxt.config with the i18n.locales.*.files entry.
The i18n blocks are handled at build/bundle by @intlify/unplugin-vue-i18n, I'm not entirely sure but I assume these translations are simply loaded with the component itself, I suggest opening an issue on that repo on adding lazy/separate loaded locale specific translations from i18n block.
Closing this as the feature does not cover this (so it is not a bug), and the behavior for i18n blocks is provided upstream.
Environment
Reproduction
Using single file component translations like so:
Lazy loading does not work: it seems to lazy load the translation files just fine but not the SFC translations.
Is this intended?
Describe the bug
I expected the language/translation chunks from SFCs to be downloaded on language switch, however only the language files seem to be downloaded.
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: