Support

Home Forums Ticketing Add-on WP language is Dutch but ticket is in English?

WP language is Dutch but ticket is in English?

Posted: August 26, 2015 at 7:36 am

Viewing 3 reply threads


JQ

August 26, 2015 at 7:36 am

I’ve integrated the ticketing add-in. Now I want to print the tickets but the ticket fields are in English while the ticket content is in Dutch.
How can I make sure that EE3 uses the Dutch language for the fields also?


Tony

  • Support Staff

August 26, 2015 at 12:51 pm

Hi JQ,

Can you let me know which fields are in English please?

Or if possible provide a link to the ticket so we can see this.


JQ

August 26, 2015 at 1:03 pm

Hi,
Try this link: http://nc2015.nl/?ticket_launch=true&id=251&r_id=55ddb2f9ab5645.12719708&html=true
Thanks,
Johan


Tony

  • Support Staff

August 27, 2015 at 5:08 am

Hi Johan,

There is a couple of ways to change those headings.

You can translate them using the custom function available here:

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

Although you’ll need to match the original strings to translate them.

Here is a custom function that includes all of the strings within the default template:

https://gist.github.com/Pebblo/09ae328c3a3d5ee4e190

You’ll need to uncomment the strings you want to translate by removing the // from the beginning then adding your custom text within the empty ”. For example, this line:

//'Print Ticket' => '',

Would become:

'Print Ticket' => 'MY CUSTOM STRING',

Another solution is to load custom ticket templates from /wp-content/uploads/espresso/tickets/ and make changes to those templates.

Go to /wp-content/plugins/espresso-ticketing/

Copy the /templates/ directory within there and place it within /wp-content/uploads/espresso/tickets/

Within that location edit the index.php file (the default template) and change the phrasing within that file.

Viewing 3 reply threads

The support post ‘WP language is Dutch but ticket is in English?’ 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