Support

Home Forums Event Espresso Premium New German translation problem after latest EE version installed

New German translation problem after latest EE version installed

Posted: October 29, 2018 at 8:08 am

Viewing 8 reply threads


greyowl

October 29, 2018 at 8:08 am

My custom template file no longer gives the correct translation of one of the dates.
Display is “Kurs 05 Intensiv, Niveau: A1.2, in Wohlen von Mo. 18. Mrz bis Wed. 1. May” instead of “Kurs 05 Intensiv, Niveau: A1.2, in Wohlen von Mo. 18. Mrz bis Mit. 1. Mai” as before.
My .mo file has many changes, so a standard German .mo isn’t useable (See previous problem “event_espresso-de_DE.mo has changed”).
What do you need to investigate this?


Josh

  • Support Staff

October 29, 2018 at 8:15 am

Hi,

Can you post the contents of the custom template file into a pasteBin or GitHub gist, then link here?


greyowl

October 29, 2018 at 1:37 pm

https://pastebin.com/YwiKcm0z


greyowl

October 30, 2018 at 3:09 am

Another Problem has become apparent since your latest SW update, also connected with the template file I sent: The $latest_event_end_date isn’t found correctly when there are two rows of dates. See Kurs 07 (latest date is shown in the listing as Tue. 9. Apr but should be 11. Apr, as seen when you open the concertina) and Kurs 08 (Tue. 3. Sep instead of 5. Sep) on https://www.lernen-im-quartier.ch/kursangebot/


Tony

  • Support Staff

October 30, 2018 at 8:06 am

Hi greyowl,

Are you overriding the espresso_event_date_range() function? It’s a pluggable function meaning you can override it and the attributes you are passing to that function in your template do not match the default attributes.

Default: function espresso_event_date_range( $date_format = '', $time_format = '', $single_date_format = '', $single_time_format = '', $EVT_ID = FALSE, $echo = TRUE ) {

meaning you could do something like this espresso_event_date_range( 'F j, Y', 'g:i a' ); to pass the date and time format, but your call is this:

$latest_event_end_date = espresso_event_date_range( $event->ID(), $end_format);

Meaning its something like:

$latest_event_end_date = espresso_event_date_range( 111, 'D. d. M Y');

Which doesn’t match the function.

Can you send me a copy of your .PO file so I can add it to a local site and see if I get any issues with translations?


greyowl

October 30, 2018 at 8:26 am

I had a freelancer make the changes to the template last year and it worked correctly till now. I’m not savvy enough to tackle changes myself. I’ll try to contact him again.

How should I send you my .po file?


Tony

  • Support Staff

October 30, 2018 at 8:33 am

You can send it to support[at]eventespresso.com and I’ll take a look.


greyowl

October 30, 2018 at 4:30 pm

My freelancer seems to have fixed both issues.


Tony

  • Support Staff

October 31, 2018 at 4:50 am

Ok great, in thay case it sounds like an issue with the custom function.

Either way I’m glad they found the problem.

Viewing 8 reply threads

The support post ‘New German translation problem after latest EE version installed’ 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