• Resolved aurezio

    (@aurezio)


    Hello, I have an issue with the translation files. I translated some of the terms in italian but I still see them in english on the site… I created the .po file but, for example, the “older posts” and “newer posts” buttons are still in english.

    https://www.sognoesondesto.it

Viewing 6 replies - 16 through 21 (of 21 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Huiiii now it works. I can’t believe it :)))

    Glad it works!

    I see what you mean about the “Continue reading” still in English under the excerpts on the homepage. I’m going to consult our developers on this and get back to you, since I was able to replicate the issue on a test site.

    Silkulix

    (@silkulix)

    Great – i’ll wait and hope the best …

    Moderator Kathryn Presner

    (@zoonini)

    We’ve found the problem. ??

    In your parent Sunspot theme, open the file /inc/tweaks.php in a text editor. On line 68, change this:

    return ' <a href="'. get_permalink() . '" class="more-link">' . __( 'Continue reading <span class="meta-nav">&raquo;</span>', 'sunspot' ) . '</a>';

    to this:

    return ' <a href="'. get_permalink() . '" class="more-link">' . __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'sunspot' ) . '</a>';

    Note that in that piece of code what you’re doing is changing &raquo; to &rarr;

    Let me know if this does the trick.

    We’ll try to get this fixed up in the next version of Sunspot so you won’t need to make this change again when you update the theme.

    Silkulix

    (@silkulix)

    Yesss that’s it!
    ??
    Thanks a lot again, and i know, that i won’t have to do anything when i update sunspot next time.
    Best wishes to you!

    Moderator Kathryn Presner

    (@zoonini)

    Wonderful! Thanks for confirming that this fix works. ??

    If anyone has further issues with Sunspot relating to translations or anything else, please start a new thread as I’ve marked this one as resolved. Thanks!

    https://www.ads-software.com/support/theme/sunspot#postform

    Howdy! Just a note to say the latest version of the theme, downloaded here:

    https://wordpress.com/themes/sunspot/

    …has the fixed POT file. ??

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Translation to italian’ is closed to new replies.