-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internalization support #106
Comments
That's likely because $: metaTags = {
title: LL.site_name(),
description: LL.site_description(),
languageAlternates: locales.map((locale) => ({
hrefLang: locale,
href: `https://${$page.host}/${lang}${$page.path.slice(3)}`
}))
}
That should be it. The |
Another small remark: |
Thanks for the tips. I tried making You may close this, I'm just noob :D |
Complements oekazuma#106 For some reason svelte doesn't like the title in if blocks, according to https://stackoverflow.com/questions/59013329/best-place-lifecycle-method-to-set-page-titles-in-a-single-page-svelte-app
🎉 This issue has been resolved in version 2.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Is your feature request related to a problem? Please describe.
When using any type of internalization plugin the meta fields don't update on language change.
Describe the solution you'd like
You should use a store for props object in order to auto refresh the meta-tags with zero-configuration
Describe alternatives you've considered
My workaround for typesafe-i18n is:
The text was updated successfully, but these errors were encountered: