Support » Plugin: Social » [Plugin: Social] Not possible to translate text on buttons

  • Resolved gitaarprofessor


    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?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Social] Not possible to translate text on buttons’ is closed to new replies.