WordPress.org

Ready to get started?Download WordPress

Forums

Digg Digg
Force language on plus one button (1 post)

  1. Pinto
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags