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

I want to use t method for href of a tag and custom data attribute instead of nuxt-link when using Nuxt.js + i18n

Dynamic multilingual sites from the backend to the replacement of large sites I changed the language, but this time I am trying for the first time to do it at the front desk (Nuxt.js + i18n).
0
votes
1 answer

Serve different page based on variable with Nginx

I have a nuxt generated JAMStack website with i18n. Generated pages are located in en and ru folders. I'm calculating user's locale and serving content from the corresponding folder: map $http_accept_language $fallback_lang { ~en en; ~ru…
kyrsquir
  • 51
  • 6
0
votes
1 answer

Russian characters are not getting decoded when accessing url directly

The nuxt-link works fine, but when I reload, it can't find the route. The translated routes are informed like this: nuxtI18n: { paths: { en: "/for-sale/", es: "/en-venta/", ru: "/для-продажи/", } } I have observed that if I go directly to the…
Chrisimir
  • 27
  • 6
0
votes
1 answer

nuxt-i18n fallback ignored routes

I've a multilang Nuxt App using nuxt-i18n with ignored routes. nuxt.config.js … seo: true, parsePages: false, strategy: 'prefix_except_default', pages: { 'cats': { en: '/cats', de: '/katzen', fr: false } } … So the page is not…
Bitpunk
  • 198
  • 2
  • 11
0
votes
1 answer

Is it possible to output html instead of a string as the object value when using nuxt-i18n?

Is it possible to output html instead of a string as the object value when using nuxt-i18n? It would be great if you could teach me! en.json { "HELLO_WORLD": "

Hello World

" } pages/index.vue