Add <meta property="og:locale:alternate" content="" /> Support to Metadata Object and generateMetadata Function #58903
MicaelPiresCom
started this conversation in
Ideas
Replies: 2 comments
-
I have been struggling with this as well. Since we need to implement https://developers.facebook.com/docs/marketing-api/catalog/guides/microdata-tags/ this and it is at the moment not possible with |
Beta Was this translation helpful? Give feedback.
0 replies
-
Anyone have an update on this? i'm also keep struggling with this |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Goals
<meta property="og:locale:alternate" content="" />
support tometadata
object andgenerateMetadata
function.Non-Goals
No response
Background
It's not possible to add it via
other: { custom: 'meta' }
, as it returns<meta name="custom" ...
instead of<meta property="custom" ...
as it is needed in Open Graph tags.Proposal
The
openGraph: { locale: '' }
can be changed to support either a string or an object. The object could supportlocale
andalternates
which would be an array of strings.BUT
If there is already
alternates (<link rel="alternate" ...)
defined, just reuse that data and add the og:locale:alternate tags automatically.Beta Was this translation helpful? Give feedback.
All reactions