Support

Home Forums Event Espresso Premium Month Translation Error

Month Translation Error

Posted: January 4, 2014 at 2:34 pm


Klaus M

January 4, 2014 at 2:34 pm

Hi, i am using the German EE version, but when i am getting months names in english in my email and ticket template?! any idea? thanks!


Dean

January 6, 2014 at 7:12 am

Hi,

What is generating the month? An email/ticket tag? Or something else?

The language files were updated recently and it is possible that these have not been translated as yet.


Klaus M

January 6, 2014 at 12:01 pm

Yes, email and ticket tags. Where can i edit the po/pot file. I can only find wp-content/plugins/event-espresso/languages/event_espresso-de_DE.mo?!


Dean

January 6, 2014 at 11:59 pm

Hi,

Language files haven’t been included in the plugin for sometime, you can find both the relevant MO and PO files here – https://github.com/eventespresso/languages

These have been updated recently so you may want to update the MO file you have.

Githubs downloading methods are a bit weird:

To download the PO file – left click the link on the main page and then right click the Raw button in the top right of the page that comes up and save as.

To download the MO file – left click the link on the main page, and then left click the View Raw text link in the middle of the page that comes up.

If you don’t do this you may end up with a MO and PO file that contains garbage data and the language wont work.


Klaus M

January 7, 2014 at 12:39 am

I downloaded the po file, translated the months in PoEdit and uploaded the new mo file to the server. This works great within the E-MAIL TAG but does not in the TICKET TAG. I still see the wrong language, not translated month displayed there. Any idea?


Dean

January 7, 2014 at 3:17 am

Which exact ticket tag is having the issue please?


Klaus M

January 7, 2014 at 3:20 am

it’s the [start_date]


Dean

January 7, 2014 at 5:56 am

Thanks for that.

It appears it’s a known issue, and we have a ticket raised to look into it. I can’t say when it will be resolved though.

I took a look and it is beyond me as to why it isn’t translating, especially as the email tag uses the exact same code structure.


Klaus M

January 8, 2014 at 7:38 am

Any chance to have the month displayed in figures until that issue is solved?


Josh

  • Support Staff

January 8, 2014 at 11:34 am

Hi Klaus,

Yes, instead of using the [start_date] tag, you’d enter the date in the custom email template for that event.


Klaus M

January 8, 2014 at 11:55 am

hm ๐Ÿ™ not the best solution as i would like to use an email template ๐Ÿ™


Sidney Harrell

January 8, 2014 at 4:45 pm

For the ticket template translation, try opening plugins/event-espresso/espresso.php and edit line 1134 from:

add_action('plugins_loaded', 'espresso_export_ticket', 40);

to:

add_action('init', 'espresso_export_ticket', 40);


Klaus M

January 8, 2014 at 10:11 pm

Wonderful! Works nicely! Thank you Sidney.

The support post ‘Month Translation Error’ 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