Best Practice for Meta Tag Translation in Static Site with Nuxt i18n #3643
Unanswered
loic-bellinger
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi everyone,
I'm working on a static site using Nuxt and
@nuxtjs/i18n, and I was wondering what the recommended approach is for handling meta tag translation (like title and description).Currently, I'm a bit unclear on the best method:
t('some.key')insideuseSeoMeta()?metakey in the page'suseHead()and localize from there?I want to make sure I follow best practices, especially since I'm generating a static site and want all localized meta info to be correctly rendered at build time.
Would love some guidance or examples of the "proper" approach. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions