Tagged: comments
-
AuthorPosts
-
July 5, 2016 at 10:12 am #656925July 7, 2016 at 2:32 pm #658063
Hey Paul,
use a plugin like Loco Translate or Poedit for it.
Best regards,
AndyJuly 25, 2016 at 7:07 pm #664768Sorry 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.
July 26, 2016 at 10:23 am #665207Hi,
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,
AndyJuly 26, 2016 at 1:54 pm #665325I 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?
July 27, 2016 at 12:46 pm #665699Hi,
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,
AndyJuly 29, 2016 at 12:35 pm #666545Got 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.
-
AuthorPosts
- The topic ‘How to change "Leave a Reply" text in comment section’ is closed to new replies.