• Hello!

    This is a minor issue, but it’s still an issue:)

    I have the recent/last comments widget in my sidebar. But it shows english text instead of norwegian that I tought I’d translated it to.

    It shows “usernmame” on “article” I want to translate “on”

    PICTURE:
    PIC

Viewing 5 replies - 1 through 5 (of 5 total)
  • Ok, here goes nothing. In wp-includes you find widget.php and on line 1402 it reads echo '<li class="recentcomments">' . sprintf(__('%1$s on %2$s'), get_comment_author_link(), '<a href="' . clean_url( get_comment_link($comment->comment_ID) ) . '">' . get_the_title($comment->comment_post_ID) . '</a>') . '</li>';

    You see the word “on” there, i think changing that one should do, but: this sort of changes will get lost after an update of the WP files unless you remember to save this file first and compare with the new one because it could have needed or usefull changes.

    Thread Starter hesleskaug

    (@hesleskaug)

    I searched all over the widgets.php fil, but could not find there either. But thanks for the suggestion!

    So then your widget.php is different?
    I see it here: sprintf(__('%1$s on %2$s'),

    Thread Starter hesleskaug

    (@hesleskaug)

    Hmm…. Maybe it’s different in 2.8.1?

    Only thing i get up is ‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>

    Thanks again for helping a newbee 🙂

    hmm, I am on holiday and still not using 2.8.1.
    Try finding the class declaration widget in your style.css ; either with a # or a . Or is there a widget.css somewhere.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Help for WHERE to translate….’ is closed to new replies.