Posted: 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! |
|
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. |
|
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?! |
|
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. |
|
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? |
|
Which exact ticket tag is having the issue please? |
|
it’s the [start_date] |
|
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. |
|
Any chance to have the month displayed in figures until that issue is solved? |
Hi Klaus, Yes, instead of using the [start_date] tag, you’d enter the date in the custom email template for that event. |
|
|
hm ๐ not the best solution as i would like to use an email template ๐ |
|
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); |
|
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.