Support

Home Forums Event Espresso Premium Translations only work in SOME pages.

Translations only work in SOME pages.

Posted: November 23, 2016 at 11:16 am


smorhaim

November 23, 2016 at 11:16 am

I have enabled translation using Polylang and my site works in es_ES spanish mostly. After installing Event Expresso, I noticed that SOME areas of the events are translated, and some are not.

I edited the .po file, I made sure the translated strings are there, I compiled to .mo and uploaded the files. (I am very familiar with the process).

HOWEVER, the same string, translates on the /events/ pages, but not on the /registration-checkout/ page for example:

This line works on the /event/page but it doesn’t work on the /registration-checkout/

__(‘Price’, ‘event_espresso’);

The po file
msgid “Price”
msgstr “Precio”

I only modified the /plugins/event-espresso-core-reg/languages/even_espresso-es_ES.*

Please help.


Tony

  • Support Staff

November 24, 2016 at 8:55 am

Hi there,

It may be that the language file you are using is outdated, have you downloaded the latest version of translations from our GlotPress project?

https://translate.eventespresso.com/projects/event-espresso-4/es/event-espresso-es_ES

You can download the PO file from there by clicking export at the bottom, or click HERE

Rename the file to event_espresso-es_ES.po and place generate a MO file from that.

Then place the generated mo file within:

/wp-content/uploads/espresso/languages/

I only modified the /plugins/event-espresso-core-reg/languages/even_espresso-es_ES.*

If you modify the language files in that location they will be load on each update to Event Espresso, the other location I mentioned is the ‘update safe’ location to store modified translation files.

The support post ‘Translations only work in SOME pages.’ 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