Support

Home Forums Event Espresso Premium Change default texts via PO file?

Change default texts via PO file?

Posted: July 31, 2018 at 12:37 am


areddick

July 31, 2018 at 12:37 am

Hi there,
I have a client who wants about 10 wording changes throughout their event booking pages – along the lines of change ‘Price’ to ‘Fee, change ‘Register’ to ‘Open’, change ‘Sold Out’ to ‘Closed’ etc. Do you think this would be possible via a language file? And if so, can you advise where to access the files/instructions I need to do that?

Thank you.


Tony

  • Support Staff

July 31, 2018 at 3:28 am

Hi there,

Yes, you should be able to change pretty much any text within EE using PO/MO files. Some strings aren’t as obvious, for example ‘Sold Out’ has 2 different strings:

https://translate.eventespresso.com/projects/event-espresso-4/en/event-espresso-en_us/?filters%5Boriginal_id%5D=15170

https://translate.eventespresso.com/projects/event-espresso-4/en/event-espresso-en_us/?filters%5Boriginal_id%5D=14583

Both of those need translating as they are used in different sections.

You can follow the steps posted here to translate EE using PO/MO files:

https://eventespresso.com/wiki/how-to-translate-event-espresso/

If you are unsure on any part just let us know and we’ll help clarify.


areddick

August 5, 2018 at 6:21 am

Thank you for the suggestion. I could use the translation English → English. If I create a MO file, how do I make Event Espresso use that file since I am not strictly speaking switching to another language?


Tony

  • Support Staff

August 6, 2018 at 3:13 am

You can just place the file in /wp-content/uploads/espresso/languages/ and EE will read it.

The format is event_espresso-{locale}.mo

So for English US it would be event_espresso-en_US.mo


areddick

August 6, 2018 at 7:36 pm

Thank you.
For some reason in the Settings page the language was showing as event_espresso-en_US but I changed it to English (United States) and that made it work.


Tony

  • Support Staff

August 7, 2018 at 2:26 am

Are you sure you put the file in the correct location?

/wp-content/uploads/espresso/languages/

It should NOT be in:

/wp-content/languages/

The support post ‘Change default texts via PO file?’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 4 months, 1 week ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!