Google +1 and multilanguage website -
i want add "google +1" button website. add elements
<html itemscope itemtype="http://schema.org/other"> <meta itemprop="name" content="title"> <meta itemprop="description" content="erterter"> <meta itemprop="image" content="http://www.mmaer.com">
to page. works fine on single-language page, works incorrectly in multilanguage case. page defines language of page language of browser , description fills depend on language. so, see code of page:
<meta itemprop="name" content="magic screenshot"> <meta itemprop="description" content="russian text"> <meta itemprop="image" content="http://www.magicscreenshot.com/content/images/error_filenotfound_small.jpg">
when click on "google +1" see english text. how fix it?
i'm adding button following code
<div style="text-align: right;"> <div class="g-plusone" data-size="medium" data-annotation="inline" data-width="300" data-href="http://wwww.com"></div> <script type="text/javascript"> window.___gcfg = { lang: 'ru' }; (function () { var po = document.createelement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getelementsbytagname('script')[0]; s.parentnode.insertbefore(po, s); })(); </script> </div>