Option to generate alternate links in <head> #547
beeb
started this conversation in
DX improvements
Replies: 2 comments 1 reply
-
|
Hi @beeb, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way that we could generate alternative links for the same page in other languages inside the
<head>tag?Reference: https://developers.google.com/search/docs/specialty/international/localized-versions#html
<link rel="alternate" hreflang="lang_code" href="url_of_page" />I've seen i18n libraries for Astro provide a component for this, but I don't know how it would look with
typesafe-i18n. Specifically, I would be interested in a solution for SvelteKit.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions