WordPress.org

Ready to get started?Download WordPress

Forums

Social
[resolved] Not possible to translate text on buttons (2 posts)

  1. gitaarprofessor
    Member
    Posted 1 year ago #

    I have translated the plugin:
    - Translated the PO/MO files
    - Created a 'lang' folder and put the files in there

    I works fine in a lot of cases. However, one thing that I cannot get translated, even not by changing the code in the PHP is the text on the buttons.

    In the top.php file, I have change the third line to:

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still - use the pastebin. As it stands, your code may now have been permanently damaged/corrupted by the forum's parser. ]

    <a> social-imr social-login comments" href="<?php echo esc_url($service->authorize_url()); ?>" id="<?php echo esc_attr($key); ?>_signin" target="_blank"><?php printf(__('Inloggen met %s', 'social'), esc_html($service->title())); ?></a>

    When I echoonly the following subset, it shows the correct tekst:

    <?php printf(__('Inloggen met %s', 'social'), esc_html($service->title())); ?>

    However, on the buttons it keeps on showing:
    'Sign in with Twitter'
    'Sign in with Facebook'

    How can I fix this?

    http://wordpress.org/extend/plugins/social/

  2. gitaarprofessor
    Member
    Posted 1 year ago #

    found it. These are actually bitmaps....

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic