Support

Home Forums Event Espresso Premium Translation of EE4 Promotions Plugin

Translation of EE4 Promotions Plugin

Posted: December 18, 2016 at 10:29 am

Viewing 9 reply threads


ardiaful

December 18, 2016 at 10:29 am

Need to have EE4 Promotions plugin translated to Spanish, haven’t seen any glotpress project for this plugin.


Tony

  • Support Staff

December 19, 2016 at 4:21 am

Hi there,

The strings for all of the add-ons are included within a single project (the main glotpress project), for example:

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

If you click the ‘details’ link to the right you’ll see:

eea-promotions/EED_Promotions.module.php:192

The eea-promotions means it is a string from the promotions add-on.

Which string are you trying to translate?


ardiaful

December 19, 2016 at 5:40 am

I have two translation issues here:

1) Change Event/Ticket Selection, which it seems as the same as in Attendee Mover plugin where I also have a problem trying to translate “Status” and “draft” “publish”, “review”

2) Event Scope Promotion – applies to Events only, I translate this string to “Promoción de Alcance – aplica a Eventos” indeed in the .po, however the result appears wrong:

Evento Scope Promotion – applies to Eventos only


Tony

  • Support Staff

December 19, 2016 at 6:10 am

I’m not sure I follow the above, can you add a screenshot of the strings you are referring to please?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


ardiaful

December 19, 2016 at 6:43 am

Check screenshot
https://postimg.org/image/ye8c3e3kd/


Tony

  • Support Staff

December 19, 2016 at 6:57 am

Thank you, so for the ‘Event Scope Promotion – applies to Events only’ string you need to translate this string:

https://translate.eventespresso.com/projects/event-espresso-4/es/event-espresso-es_ES?filters%5Boriginal_id%5D=23114

The %1$s and %2$s strings are placeholders and should be included in your translation.

For the ‘Change Event/Ticket selection it’s these two strings:

https://translate.eventespresso.com/projects/event-espresso-4/es/event-espresso-es_ES?filters%5Bterm%5D=Change+Event&filters%5Buser_login%5D=&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filter=Filter&sort%5Bby%5D=priority&sort%5Bhow%5D=desc

One of those has a space at the beginning so you’ll want to translate both.


ardiaful

December 19, 2016 at 7:28 am

However, no “%1$s Scope Promotion – applies to %2$s only” line appears as an original string in my .po file


Tony

  • Support Staff

December 19, 2016 at 7:39 am

Did you previously download that PO file from GlotPress?

As we add new strings to the project you will need to merge in the latest version from GlotPress to your local PO file.

So download the latest PO file from GlotPress and follow this tutorial:

http://www.marketpressthemes.com/blog/how-to-merge-two-po-files-using-poedit/

(Make sure you have a backup of your custom PO file before doing the above just to be safe)

Your PO file will then contain the latest translations.


ardiaful

December 20, 2016 at 2:12 am

Thanks! that worked well for me.


Tony

  • Support Staff

December 20, 2016 at 3:41 am

You’re most welcome, I’m glad that worked for you.

If you have any further problems please let us know.

Viewing 9 reply threads

The support post ‘Translation of EE4 Promotions Plugin’ 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