html - Localize Facebook OG Tags -
i have webpage uses facebook og tags
. website in german (de) , in english (en).
i use following og tags in page header:
<meta property="fb:app_id" content="34545345353453" /> <meta property="og:site_name" content="mysite.com"> <meta property="og:locale" content="de_de" /> <meta property="og:locale:alternate" content="en_us" /> <meta property="og:type" name="og:type" content="website"/> <meta property="og:title" name="og:title" content="${message(code:'page.title.home.index')}"/> <meta property="og:description" name="og:description" content="${message(code:'page.meta.description')}"/>
the problem when post http://www.mysite.com on facebook preview in english, if primary language german.
how can achieve translation german if posted has facebook language german , english how has facebook language english?
it working actions should work if use go tags.
have tried 'locale' og pseudo?
check out: https://developers.facebook.com/docs/opengraph/guides/internationalization/
Comments
Post a Comment