Like 按钮似乎忽略了 og:locale 设置
我有
<html lang="en">
,
<meta property="og:locale" content="da_DK" />
Facebook 调试器在“对象属性”下说,
og:locale: da_dk
根据此信息,类似按钮以瑞典语呈现,这可能是从我的浏览器中获取的。我希望并且喜欢它尊重 og:locale。我可能错过了一些简单的事情,但我不明白,我做错了什么?
I have
<html lang="en">
and
<meta property="og:locale" content="da_DK" />
The facebook debugger says under "object properties"
og:locale: da_dk
Based on this information the like button renders in Swedish, which is probably taken from my browser. I would expect, and like, it to respect the og:locale. I have probably missed something simple, but I don't get it, what am I doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
点赞按钮以您在 all.js 的 url 中使用的语言呈现。我下面的示例使用 en_US 作为区域设置。
The like button renders in the language you used in the url to all.js. My example below use en_US for the locale.