WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Digg Digg] Force language on plus one button

[Plugin: Digg Digg] Force language on plus one button

  • Hi all,

    I need to force the language to pt_PT

    I opened dd-class.php and changed line 326 from

    const BASEURL = "<script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='VOTE_BUTTON_DESIGN' href='VOTE_URL'></g:plusone>";

    to

    const BASEURL = "<script type='text/javascript' src='https://apis.google.com/js/plusone.js'>{lang: 'pt-PT'}</script><g:plusone size='VOTE_BUTTON_DESIGN' href='VOTE_URL'></g:plusone>";

    But did not worked, any help would be aprreciated!

    http://wordpress.org/extend/plugins/digg-digg/

  • The topic ‘[Plugin: Digg Digg] Force language on plus one button’ is closed to new replies.