WordPress.org

Support

Support » Plugins and Hacks » Tweet button language

Tweet button language

  • By default, Twitter’s “tweet” button is localised to the user’s language. That creates a considerable problem, if the word for “tweet” in the mentioned language is much longer than the English equivalent: the Tweet button badly overflows the floating bar boundaries, consequently looking very ugly. So far, I’ve solved the problem by resetting the tweet button language to english (not my native language), i.e. replacing every occurrence of:

    <a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical"></a>

    with:

    <a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-lang="en"></a>

    The problem is, I need to do this after every update of plugin, and I’m getting tired of it… Could it be possible to include this change to the code itself, in a way or other? I’m of course aware that some users would prefer their native language version of the tweet button.

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

  • The topic ‘Tweet button language’ is closed to new replies.