badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Edit readmore-button?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #41569
    monmidt
    Participant

    Hi!
    I’m almost done with the page I’ve created and will soon launch it. But since we live in Norway I would like the readmore-buttons in the services-widget to be in norwegian language… how do I change this?

    #41612

    Hi monmidt,

    To change the readmore button into your own language first you need to create a .po and .mo file and that translated .po and .mo file should be kept inside the language folder. Then, after readmore buttons into your own language.

    If you like direct change in the code then first you create a child theme and then customize the code. So that while updating to new version your customized code will not be lost.

    Thank you!

    #41639
    monmidt
    Participant

    Hi!
    I have already created a childtheme, but I’m not able to find the code-snippet for the readmore-button so I can do a direct edit.
    In which file will I find the frase “read more” , so I can just erase it and replace it with “les mer”?

    Thx for a quick response 🙂

    #41672

    Hi monmidt,

    If you make direct changes in the code then while updating to new version your customized code will be lost. So better is making language translation file. If you wanna direct change then each and every time you update to new version you need same customization.

    The readmore file text is inside theme folder(interface)/inc/structure/content-extensions.php on line 173, 511, 637, 742 and
    theme folder(interface)/inc/widgets/interface_widgets.php on line 289

    Hope this may help you
    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.