Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #656925

    Hello.

    How can I change the “Leave a Reply” text in the comment section to “Leave a comment”. I also want to edit the other couple lines of text there as well (Want to join the discussion? Feel free to contribute!). I also want to remove the field “website” as most of my users don’t run websites.

    I’ve read the other people’s queries on this matter and did what was mentioned there but it just caused my post not to load at all after editing the comments.php

    #658063

    Hey Paul,

    use a plugin like Loco Translate or Poedit for it.

    Best regards,
    Andy

    #664768

    Sorry to hijack but I want to do the same thing however I cannot get Loco Translate to work. Are you sure this plugin is compatible with Enfold? I just get ‘Error: Unknown error’ from the plugin when I try to create an en_GB.po file via the plugin and upload it to /themes/enfold/lang on the server. The author’s FAQ says they can’t help with unknown errors (because they are ‘unknown’!).

    So I then downloaded Poedit but cannot find an English language file to edit amongst the files in/enfold/lang – can you advise how to use Poedit to make text changes?

    My Site Language is set to English (UK) e.g. en_GB, and I want to change things like “Leave a Reply” to something different in English.

    #665207

    Hi,

    we can’t support any 3rd party plugins, so please ask plugin’s authors about it. They know their plugin best.

    Yes, Enfold works fine for thousands of customers with Loco Translate and Poedit. Try to deactivate every other plugin to make sure none is causing any conflicts. Make sure to use newest theme version.

    Best regards,
    Andy

    #665325

    I understand you don’t support 3rd party plugins and I still can’t get it to work, so I want to use Poedit to make text changes.

    So to repeat my previous question: “can you advise how to use Poedit to make text changes” given that there is no en_GB.po file to edit in /themes/enfold/lang?

    #665699

    Hi,

    english is the default WordPress language, so you’ll find the text strings in the enfold.mo/enfold.po files (inside lang folder).

    Best regards,
    Andy

    #666545

    Got this sorted now but for anyone else wanting to try it, here’s some more info about how to do it which was missing from the previous reply.

    By default the theme does not have an enfold.po file but there is an enfold.mo. You need to open enfold.pot, which has all the English source text, with Poedit. You then create a new translation, select the language [which for me is English (UK), what my site’s language is], and Poedit will create a file called en_GB.po, into which you can enter ‘translations’ e.g. I changed ‘replies’ to ‘comments’. This next bit is key – instead of saving the file as en_GB.po you need to save it as enfold.po, whereupon Poedit will do that but also create a new enfold.mo file. You then upload both enfold.po and enfold.mo to the server – and you now have new English ‘translations’.

    PS. I believe it’s not necessary to upload enfold.po as it is the .mo file that the system uses but for completeness and file integrity it’s probably a good idea.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘How to change "Leave a Reply" text in comment section’ is closed to new replies.