Support

Home Forums Event Espresso Premium Braintree Payments – changing text

Braintree Payments – changing text

Posted: July 29, 2016 at 3:39 am

Viewing 8 reply threads


Oguzhan Altun

July 29, 2016 at 3:39 am

Hello,

As I run a dual-language website, I need to make sure all the messages that the visitors see during the checkout process are either in their selected language, or if this is not possible, the messages are in both languages.

A simple example is “This field is required” message when people miss a field.

So my questions is where can I find a full list of these fields and how can I either make them multi-language or change them so that people won’t see only english messages?

Thanks,


Oguzhan Altun

July 29, 2016 at 3:40 am

Not only messages, but also the field names (e.g. Zip, Phone, etc)


Lorenzo Orlando Caum

  • Support Staff

July 29, 2016 at 3:53 am

Hello,

The messaging can be changed by using a gettext filter:

https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#custom-function

If you have an existing gettext filter (e.g. in a site specific plugin), then you could add those translation strings to it.


Lorenzo


Oguzhan Altun

July 29, 2016 at 4:09 am

Hi,

I have poedit installed, but I don’t know exactly how to proceed.

Could you give me an example of what I have to do with exact steps? For example to change the field “ZIP” into “ZIP / NPA” ?


Tony

  • Support Staff

July 29, 2016 at 4:22 am

The question titles (Question Text) can be set within the dashboard itself.

For example to change the ‘ZIP’ question field name you go to:

Event Espresso -> Registrations Form -> Questions.

Find the ‘Zip’ question there – http://take.ms/MGF1B

(Note you can also change the ‘required’ text in that same section)

EE does not currently support multiple languages at once so if you translate EE you would need to alter every translation to include the English text and the other language you are using.


Oguzhan Altun

July 29, 2016 at 4:39 am

ok that’s helpful. So here are what I have to change during the Braintree checkout process:

In the Attendee Information Page:
1. Register Now button text to Register / S’inscrire
2. Event Phone to “Call the instructor / Appeler l’insctructice”
I already translated the fields here from the dashboard.

And in the payment options page:
1. “Click the Pay Now Button to proceed with the payment” in the yellow box
2. Country and Zip fields (These fields are not from the questions under the Registration form, maybe it’s taking them from Braintree??)
3. The error message “Some payment method input fields are invalid”
4. Message: “This field is required”
5. Message “Payment Accepted. Please Click “Proceed to Finalize Registration” …”
6. Text in the button: “Proceed to Finalize Registration”
7. Error message: “This field is required”

Sorry for the long list, it’s both for you and for me:)

How would you recommend me to update these texts to show both languages?


Lorenzo Orlando Caum

  • Support Staff

July 29, 2016 at 11:07 am

Hello,

You can change most of that messaging using a gettext filter. I mentioned that in my earlier reply:

https://eventespresso.com/topic/braintree-payments-changing-text/#post-212442

Here are examples of how to change the registration button texts through some filters:

https://eventespresso.com/wiki/customize-checkout-registration-button-text/


Lorenzo


Oguzhan Altun

August 2, 2016 at 10:02 am

Hello,

Following the instructions, I was able to change most of them. The remaining ones I could not change are the following, can you help?

Attendee Information Page:
None of the text in this page (e.g. “In order to process your registration…” or “Personal Information”, “Name and Description”, “Event Phone” etc) does not change using the previously provided code (general strings part), what do I have to do? https://gist.github.com/joshfeck/4028f3345d69bd312862b64b94f07e26

Here is what I have right now in my site specific plugin:
https://gist.github.com/altuno/b98435eb7ccd19bec2283cff8500f448

Payment Options Page:
Is there any way to change the text in the “Pay Now” Button from Braintree?

Thanks,


Lorenzo Orlando Caum

  • Support Staff

August 2, 2016 at 11:23 am

Hi,

You are almost there. The thing to remember is that gettext needs an exact match.

Pay Now is ready to be translated in a similar way so you can add it as an entry to your site specific plugin (https://translate.eventespresso.com/projects/event-espresso-4/fr/event-espresso-fr_FR?filters%5Bterm%5D=pay+now&filters%5Buser_login%5D=&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filter=Filter&sort%5Bby%5D=priority&sort%5Bhow%5D=desc).

The registration form along including questions and validation messaging are translated through question editor or the question groups editor. This is in Event Espresso –> Registration Form.

On the first link that you shared, it does not have the messaging that you mentioned as entries so that is why it isn’t working.

Here are the source texts for those:

https://translate.eventespresso.com/projects/event-espresso-4/fr/event-espresso-fr_FR?filters%5Bterm%5D=In+order+to+process+your+registration&filters%5Buser_login%5D=&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filter=Filter&sort%5Bby%5D=priority&sort%5Bhow%5D=desc

Personal Information will be through the Questions Group editor.

Here is the source for name and description:

https://translate.eventespresso.com/projects/event-espresso-4/fr/event-espresso-fr_FR?filters%5Bterm%5D=name+and+description&filters%5Buser_login%5D=&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filter=Filter&sort%5Bby%5D=priority&sort%5Bhow%5D=desc

And here is the source text for Event Phone (see entries at end):

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

Did you need help locating the source texts for any other messaging?


Lorenzo

Viewing 8 reply threads

The support post ‘Braintree Payments – changing text’ 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