This topic is: not resolved

This topic contains 5 replies, has 2 voices, and was last updated by  vako 6 days, 12 hours ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #33411

    rihorannamae
    Participant
    Free Member

    Hi. Is there a way to translate the “Continue Reading” text on the homepage, under the latest post. I would like to change it to Swedish myself.

    Site: http://vagaprata.nu

    Thanks.

    #33415

    rihorannamae
    Participant
    Free Member

    I have also tried to change the following line on the pot file, but no luck. Maybe the lines are not the same, which appears on the home page? The “Continue Reading” text on the homepage is something else in the pot file?

    #: functions.php:381 functions.php:397
    
    #, php-format
    
    msgid "Continue reading<span class="\&quot;screen-reader-text\&quot;"> \"%s\"</span>"
    
    msgstr ""

    and

    #: templates/grid/blog-full.php:43
    msgid "Continue reading"
    msgstr ""

    #33417

    vako
    Keymaster
    WP Royal Team

    Hi #rihorannamae

     

    Please use the plugin Loco Translate to translated theme strings, to better understand the whole process, please watch this video guide.

     

    Kind Regards

    #33418

    rihorannamae
    Participant
    Free Member

    I used the Loco Translate plugin and it worked on every string, except the “Continue Reading” one. So I don’t know what can be the problem. That’s why I also tried to edit the pot file, but no luck.

    https://pasteboard.co/I55h8JL.png

    https://pasteboard.co/I55hjlq.png

    (I changed the WordPress language to English, when I took the screenshots. Otherwise, it’s set to Swedish)

    Which one is the Source Text, for the “Continue Reading” below the latest post on the home page?

    #33425

    rihorannamae
    Participant
    Free Member

    I resolved it, don’t know why I couldn’t change the string with Loco Translate, but I managed to change the string in the full-blog.php file. 😊

    #33447

    vako
    Keymaster
    WP Royal Team

    I am glad that you have managed to find out it by your self.

    Feel free to contact us anytime.

     

     

     

    Kind Regards

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.