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*

Change Words, Translation

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #43073

    Hi blog1,

    To translate the words into your own language you need to create a .po and .mo file and that file must be added inside the language folder of child theme.

    View more about language translation.
    https://make.wordpress.org/polyglots/handbook/tools/poedit/

    Thank you!

    #44319
    8beast
    Participant

    can you elaborate a little bit more? I did create the po file but do I need to define somewhere in the code to use my let’s say hr_HR instead of ru_RU

    #44324

    Hi 8beast,

    Yes sure. You need to create a .po and .mo file and it should be kept inside the language directory. To work this language goto dashboard -> settings -> general -> site language and choose your language.

    Note: If you create a child theme then while updating to new version your customized code will not be lost. If you directly add in the language directory of parent theme then each and every time while updating to new version all your file will be lost. So you need to add the language file again. So the best way is to create a child theme.

    Thank you!

    #44364
    8beast
    Participant

    thank you got it working 🙂
    I always use child theme no worries ;=)

    #44382

    That’s great 8beast

    Thank you!

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