Questions tagged [nuxt-i18n]

Use this tag for questions related to Nuxt.js Internationalization plugin based on Vue-i18n plugin.

149 questions
0
votes
1 answer

How to get access to template in asyncData?

I want to get access to this.$el in asyncData. I use a database to store translations. I want to get a list of translations that are used on the current page. Then I will send a request to the server to receive them. After that, I will merge…
Vladimir Golub
  • 523
  • 1
  • 8
  • 22
0
votes
2 answers

Problem with nuxt-i18n and 404 redirect with nuxt

I'm working on a nuxt project with a custom 404 page. When I install the module nuxt-i18n to have my website in french and english I have encountered a problem with the custom route created for the 404 page. when I let my custom route in…
lolomolo
  • 1
  • 1
0
votes
1 answer

Nuxt generate with vuex and multi-language site

I am currently building my first (statically generated) website with nuxt and a headless Wordpress as CMS. I am also using the module nuxt-i18n for multi-language support: German (default) and English. The setup To fetch data from the multi-language…
Valentin
  • 43
  • 1
  • 6
0
votes
0 answers

Generating pages vue-i18n nuxt

I am trying to run ‘nuxt generate’ for a multi language website (de and en) and I get the following error: ERROR Error generating route "/de": This page could not be found I get the error only when I set defaultLocale: 'de', on defaultLocale: 'en'…
senakua
  • 47
  • 1
  • 6
0
votes
3 answers

Locale keeps resetting between switching pages. Nuxt-i18n

I am trying to set up localization for my Nuxt frontend. Every time I switch to English and then move to an other subpage of my website it does reset back to German. This is my LanguageSelector