Support

Home Forums Event Espresso Premium Congratulations text translation missing in .po

Congratulations text translation missing in .po

Posted: February 15, 2015 at 1:43 pm


Visual Facilitators

February 15, 2015 at 1:43 pm

I translated much of the texts in my local .po file which I got somewhere from a link here in the forum. Now I found out that the notifications in the colored frames after the checkout are not in this file. Example:

Congratulations
Your registration has been successfully processed. Check your email for your registration confirmation or click the button below to view / download / print a full description of your purchases and registration information.
View Full Order Confirmation Receipt

How to translate them?


Sidney Harrell

February 16, 2015 at 2:56 pm

The translation string I’m seeing for that in the code is

%1$sCongratulations%2$sYour registration has been successfully processed.%3$sCheck your email for your registration confirmation or click the button below to view / download / print a full description of your purchases and registration information.

The extra stuff around “Congratulations” might have fouled up your search. If you cannot find it at first, I would try breaking it up into smaller search strings.


Visual Facilitators

February 16, 2015 at 3:51 pm

It’s not in the .po file and I found out that there are outdated version which don’t include that strings from the framed notifications.
How can I get a .pot where I can import my version and the latest version.


Sidney Harrell

February 16, 2015 at 7:31 pm

The best thing to do is install the Loco translate plugin. It will let you generate a po file for not only EE, but for any WP plugin or theme you have installed. I believe we are working on an automated system for generating new po files every time for every release, but we don’t have a timeframe, yet.


Visual Facilitators

February 17, 2015 at 11:20 am

Tried Loco but don’t know how to import my existing data.
Seems not a good solution.


Lorenzo Orlando Caum

  • Support Staff

February 17, 2015 at 12:38 pm

Hi, you can change that messaging with a filter:

https://gist.github.com/lorenzocaum/b0fef298c2ecb2965353#file-new_gist_file-php

The translation files for Event Espresso 4 were also updated today on GlotPress:

http://translate.eventespresso.com/projects/event-espresso-4


Lorenzo


Visual Facilitators

February 17, 2015 at 1:14 pm

How can I sync my own translation with an updated version of the GlotPress?
I have many strings translated which are not done in Glotpress. Don’t want to loose many hours of work.
Sometimes I have translated it different because it fits better to the type of events.
Some strings I have translated are still not showing up. For example the button “Proceed to Payment Options” at the end of the registration form.


Sidney Harrell

February 17, 2015 at 1:50 pm

are you using poedit? I found this tip:

you can use poedit. To merge your current po-file, you must to open it and click:

Catalog > Update from POT-file.
Set the filter to all files and select your second.po file


Visual Facilitators

February 17, 2015 at 2:08 pm

Thank you, that seems to work for me


Dean

February 18, 2015 at 4:45 am

Thanks for letting us know, we will look to update the po files in a future release.


Lorenzo Orlando Caum

  • Support Staff

September 12, 2015 at 2:41 pm

Hi there Heinz,

We have a new resource that explains how to translate Event Espresso. You can view it here:

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

Also, GlotPress now has translation strings that are up to date for the current Event Espresso 4.8.x platform.


Lorenzo

The support post ‘Congratulations text translation missing in .po’ 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