You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use the Stackblitz reproduction in a separate tab, you will quickly notice the page title and description fields do not update correctly when switching locales, while the values in Vue template are translated properly as well as the URL prefix.
To see this, use 'Open Preview in new tab' feature of Stackblitz so you can view the <title> tag and inspect the meta description tag. Included a video that makes the issue quite clear.
02-02-2025.13_35_43.mp4
When I remove the Wait for page transition using skipSettingLocaleOnNavigate implementation, the updating the meta tags with useSeoMeta works as intended. Video below. <title>, <meta property="og:title">, <meta name="description">, <meta property="og:description" will have the values of the previous language.
02-02-2025.13_40_27.mp4
This is a bug right, or am I doing something wrong?
On a side note, is it possible to disable the page transitions completely only when locale switching? This is not what we want in the end, but might be useful temporarily.
The text was updated successfully, but these errors were encountered:
Environment
Reproduction
Reproduction:
https://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-jbdvj2al?file=pages%2Findex.vue
Describe the bug
After implementing the Wait for page transition using skipSettingLocaleOnNavigate feature from the docs, useSeoMeta values on pages are not updated properly.
If you use the Stackblitz reproduction in a separate tab, you will quickly notice the page title and description fields do not update correctly when switching locales, while the values in Vue template are translated properly as well as the URL prefix.
To see this, use 'Open Preview in new tab' feature of Stackblitz so you can view the <title> tag and inspect the meta description tag. Included a video that makes the issue quite clear.
02-02-2025.13_35_43.mp4
When I remove the Wait for page transition using skipSettingLocaleOnNavigate implementation, the updating the meta tags with
useSeoMeta
works as intended. Video below.<title>
,<meta property="og:title">
,<meta name="description">
,<meta property="og:description"
will have the values of the previous language.02-02-2025.13_40_27.mp4
This is a bug right, or am I doing something wrong?
On a side note, is it possible to disable the page transitions completely only when locale switching? This is not what we want in the end, but might be useful temporarily.
The text was updated successfully, but these errors were encountered: