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
I am using the Nuxt i18n module in my project and I have come across an issue regarding SEO features. According to the documentation, to leverage SEO benefits, the locales option must be configured as an array of objects with each object having a language option set to the locale language tags: SEO Requirements Documentation.
However, I do not intend to use the SEO benefits such as hreflang alternate link generation and canonical link generation. Therefore, I have removed the language options from my configuration. Despite this, I still receive the following warning in the console:
WARN Locale language ISO code is required to generate alternate link
Expected Behavior:
I would expect that if SEO features are not needed or explicitly disabled, there should be no warnings related to SEO in the console.
Actual Behavior:
Even after removing language options, I still receive warnings in the console related to SEO features.
Steps to Reproduce:
Configure the locales option without language in the Nuxt i18n module.
Is it possible to provide a way to completely disable SEO features, including the suppression of any related warnings, when they are not needed? This would help in keeping the console clean and avoid any unnecessary warnings.
Thank you for considering this request. I appreciate the work that has gone into this module and look forward to any updates or guidance on this matter.
Best regards,
Maria
The text was updated successfully, but these errors were encountered:
Hello,
I am using the Nuxt i18n module in my project and I have come across an issue regarding SEO features. According to the documentation, to leverage SEO benefits, the
locales
option must be configured as an array of objects with each object having alanguage
option set to the locale language tags: SEO Requirements Documentation.However, I do not intend to use the SEO benefits such as hreflang alternate link generation and canonical link generation. Therefore, I have removed the
language
options from my configuration. Despite this, I still receive the following warning in the console:Expected Behavior:
I would expect that if SEO features are not needed or explicitly disabled, there should be no warnings related to SEO in the console.
Actual Behavior:
Even after removing
language
options, I still receive warnings in the console related to SEO features.Steps to Reproduce:
locales
option withoutlanguage
in the Nuxt i18n module.Example Configuration:
Console Warning:
Environment Information:
Nuxt Version: 3.13.2
Nuxt i18n Module Version: 8.5.5
Node.js Version: 20.10.0
Operating System: macOS
Feature Request:
Is it possible to provide a way to completely disable SEO features, including the suppression of any related warnings, when they are not needed? This would help in keeping the console clean and avoid any unnecessary warnings.
Thank you for considering this request. I appreciate the work that has gone into this module and look forward to any updates or guidance on this matter.
Best regards,
Maria
The text was updated successfully, but these errors were encountered: