Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
36 views

Nuxt 3: Page Title Appears as <title>undefined</title> in Google

I'm working on a Nuxt 3 project, and I've encountered an issue where Google search results display my page title as undefined, even though the title appears correctly in the HTML tags. Below is the ...
Carlos Valdes Web's user avatar
0 votes
0 answers
31 views

Nuxt3 i18n, Page route for only one locale

I want to create some pages on my Nuxt3 application that are available only for one locale. For example I have these 2 locales: i18n: { locales: [ { code: 'fr', file: '...
Jean Claude's user avatar
0 votes
2 answers
306 views

I18n Modules not working with nuxt3 version 3.11.2

I followed the instructions for nuxt3 I18n Module. I implemented the configuration in the manner mentioned in Documention 2 - Results appear, but the words written inside the messages do not appear ...
mohammed albadry's user avatar
1 vote
0 answers
37 views

i18n route alias not prefix in nuxt 3

I use nuxt 3 and nuxt/18n I have two languages ar and en and the default is ar When I create a fan page, another router is created with prefix /en For example, I have a page test.vue: <script setup ...
none's user avatar
  • 45
0 votes
0 answers
48 views

Nuxt 3 middleware global auth with i18n

I use Nuxt 3 (3.11.2) and Nuxt i18n (8.3.1). I can't figure out how to set up my middleware for checking the token (whether the token exists or not). If the token exists, then everything is OK and I ...
devVue123's user avatar
0 votes
0 answers
33 views

Nuxt-i18n incorrect prefixes on multiple domains

In my Nuxt3 application I'm using @nuxtjs/i18n package. The problem is that even though I am using the differentDomains: true option, I still get a prefix to all my url's for other than the default ...
PeterS's user avatar
  • 21
0 votes
1 answer
159 views

i18n.locale not update in middleware after navigateTo() to another lang - nuxt 3

The Middleware has a function that if the user's chosen language is different from the current language, it is changed. But the problem is that after the user switches to the intended path or URL (...
none's user avatar
  • 45
0 votes
0 answers
45 views

Nuxtjs/i18n without detectBrowserLanguage, with cookie support. How to efficiently write custom handler?

I'm using nuxtjs/i18n for language handling. I do not want to use browser detection for language. I've spent so much time to write a custom solution but there are always some hiccups. I get stuck on ...
boblz's user avatar
  • 11
0 votes
2 answers
222 views

Language switcher in Nuxt 3 with nuxtjs/i18n

This is Nuxt 3 with @nuxtjs/i18n Packages: //package.json { "name": "nuxt-app", "private": true, "type": "module", "scripts": { &...
TKO's user avatar
  • 101
0 votes
1 answer
144 views

Dynamic routing in Nuxt 3 with I18n

I have problem with my Nuxt 3 project and with dynamic routing. I need redirect between this pages: /products/all /products/favorites My pages structure is: pages/ ├── products/ ├──── [type].vue ...
devVue123's user avatar
1 vote
0 answers
47 views

nuxt i18n change url on fetch

When I fetch some api url from domain/{locale}/ to (example) /__cache/ > url transformed to /{locale}/__cache/. Using native fetch from browser console. Any ideas to resolve this issue?
Twist's user avatar
  • 275
0 votes
0 answers
103 views

Nuxt 3 build generates 500 i18n[TranslateVNodeSymbol] is not a function error, but works in dev mode

In my package.json file I have "@nuxtjs/i18n": "^8.0.0-rc.5" installed I have the following code in the nuxt.config.ts file modules: ["@nuxtjs/i18n"], build: { ...
shmrnm's user avatar
  • 13
0 votes
0 answers
115 views

use translation files dynamically based on the route (load different files per page) nuxt3 and i18n?

what i am trying to combine shared translation with page specific translation using a global middleware the issue i am facing is that in the server side it works fine , but in the browser after the ...
Hiba Salem's user avatar
1 vote
1 answer
111 views

Vuetify rules message translation using nuxt i18n

I want to display translated rule messages, when Vuetify validation fails Template section <v-text-field v-model="message.name" outlined :label="$t('page.contact.form....
Siimo's user avatar
  • 23
5 votes
2 answers
1k views

How to use i18n messages in a Nuxt3 pinia store

When trying to use an i18n message in a Nuxt3 Pinia store I get the error message: "SyntaxError: Must be called at the top of a setup function" When using a message in a template I can do: &...
Stefan's user avatar
  • 341

15 30 50 per page
1
2 3 4 5
11