harlan-zw / nuxt-seo

The complete SEO solution for Nuxt.
https://nuxtseo.com
949 stars 56 forks source link

i18n integration #223

Open zonistefano opened 2 months ago

zonistefano commented 2 months ago

Describe the bug

The integration with i18n is not working as expected. When switching the locale as described by the nuxtjs/i18n documentation, the Default Meta are not updated accordingly. The affected properties are: html lang="", og:locale, og:site_name, %siteName from the page title. Those properties are updated only when a page refresh is manually triggered from the browser button.

Reproduction

https://github.com/zonistefano/nuxtseo

System / Nuxt Info

- Operating System: Linux
- Node Version:     v20.11.0
- Nuxt Version:     3.11.2
- CLI Version:      3.11.1
- Nitro Version:    2.9.6
- Package Manager:  bun@1.0.29
- Builder:          -
- User Config:      devtools, site, modules, i18n
- Runtime Modules:  @nuxtjs/i18n@8.3.0, @nuxtjs/seo@2.0.0-rc.10
- Build Modules:    -