Posted: 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, |
|
Not only messages, but also the field names (e.g. Zip, Phone, etc) |
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. — |
|
|
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” ? |
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. |
|
|
ok that’s helpful. So here are what I have to change during the Braintree checkout process: In the Attendee Information Page: And in the payment options page: 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? |
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/ — |
|
|
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: Here is what I have right now in my site specific plugin: Payment Options Page: Thanks, |
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: Personal Information will be through the Questions Group editor. Here is the source for name and description: And here is the source text for Event Phone (see entries at end): Did you need help locating the source texts for any other messaging? — |
|
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.