Replies: 1 comment 4 replies
-
Hi, what version of Nuxt and |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am wondering how to import messages from an external URL.
For example, the nuxt app is on domain1.com and the messages files exist on domain2.com/locales/locale.json
I have tried the
lazy
option turned totrue
along with an async function like the one mentioned in the link below but the messages are not even loading from the Promise and so cannot fetch from an external URL within that promise.https://i18n.nuxtjs.org/lazy-load-translations/
Any idea what to do?
Using the latest version of nuxt & the library
nuxt 3.0.0
i18n v8.0.0-beta.7
Beta Was this translation helpful? Give feedback.
All reactions