Is there any way to request the locales set in the project?
I think it's possible to do with JS API calling to the root endpoint, but I don't see any method in @nuxtjs/prismic to do this. I would like to set locales in the nuxt-config i18n package dynamically.
Hi @Ezekiel and thank you. Yes, but I was trying to find a way to use the @nuxtjs/prismic library instead of having a static URL in my code, if it somehow changes in the future, I won't be able to find the problem, but it would work just updating the library.
I see what you mean! You can generate the i18n config more dynamically, but you'll always have to fetch the locales from the Prismic API root endpoint one way or another.