Support

Home Forums Event Espresso Premium Making text string changes with POEdit

Making text string changes with POEdit

Posted: August 27, 2013 at 8:57 am

Viewing 6 reply threads


Randy

August 27, 2013 at 8:57 am

Hi, I’ve previously (early this year) made two changes using POEdit and they worked well. Now I needed to make another change and noticed the earlier changes were back to the default.

I made the new changes which worked fine but I cannot get the first changes to work again. I deleted the .po and .mo files, recreated and uploaded them. I also removed the changes and saved then made the same changes again but nothing works. However my change that I needed to make today still works.

I wanted to change the line Add More Attendees? “(click to toggle, limit” to “Add more names (Up to” It worked for a while now doesn’t.

I am using:
event espresso: 3.1.34.1.P
Wordpress: 3.6

Any idea why some changes work and some don’t?

I also wanted to clarify what folder the .po and .mo files should be in. I read on one post to put it in the uploads/languages folder and in others to put it in the wp-content/event-espresso/languages folder.

Thanks for your help!


Jonathan Wilson

August 27, 2013 at 11:27 am

Hi Randy,

Here is the detailed documentation on how to do what you are wanting to do:
https://eventespresso.com/wiki/how-to-change-wording-with-poedit/

Note that you need to upload both the new .po and .mo files to
wp-content/uploads/espresso/languages.


Randy

August 27, 2013 at 3:44 pm

Hi Jonathan,

that is the procedure that I followed. I am able to change one line but not two others that I wanted to make changes to. I also put both files in the uploads wp-content/uploads/event-espresso/languages folder. I also tried uploading them to the p-content/plugins/event-espresso/languages but there is no change from either location.

I am able to change one text string but not two others.

What should I try next?


Sidney Harrell

August 27, 2013 at 4:18 pm

The msgid string in the po file must match exactly the translatable string that is in the code. So the line you quoted above should have an entry in the po file that is:

Add More Attendees? (click to toggle, limit %s)


Randy

August 28, 2013 at 1:49 pm

Hi Sidney,

I may have had a typo in original post. Here is the original text string from the po file:

Add More Attendees? (click to toggle, limit

there is not a percent symbol or closed parenthesis in the original line. Is it possible the po file I’m using is outdated?

thanks!


Josh

  • Support Staff

August 28, 2013 at 8:39 pm

Yes it’s possible, especially if the PO file was from one year ago.

You can download a more recent one from our Github page:

https://github.com/eventespresso/languages


Randy

August 29, 2013 at 10:36 am

thanks Josh, I did need to update the .po file as some of the text strings had changed from my old copy.

I suppose that from now on, I’ll have to watch for my changes to disappear and just download a new po file in the future.

Viewing 6 reply threads

The support post ‘Making text string changes with POEdit’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso