Replace astro-i18next and HeadHrefLangs Component Due to Compatibility Issues #486
Labels
website
Issues related to the website's functionality, for content updates use the `documentation` tag
Bumping up the @astrojs/starlight dependency caused compatibility issues with the HeadHrefLangs component that is part of the astro-i18next module. Unfortunately, it seems this module is no longer being maintained. HeadHrefLangs is a component from astro-i18next that generated tags with hreflang attributes for SEO, specifying alternate language versions of a webpage.
astro-i18next also adds in other internationalization features like i18next configurations. There needs be investigation of the best way to keep all this functionality while keeping everything updated. This either means exploring other community libraries, or use Astro's Built-in i18n Support. This also has limitations which is why it needs more work to figure out the best path.
Error
Current Workaround
The dependencies can be updated by removing the
import { HeadHrefLangs } from "astro-i18next/components";
and<HeadHrefLangs />
lines fromsrc/layouts/Base.astro
. See chore: basic dependency bump #485The text was updated successfully, but these errors were encountered: