Support

Home Forums Event Espresso Premium Calendar's days and months' translation after update

Calendar's days and months' translation after update

Posted: December 19, 2013 at 10:52 am

Viewing 8 reply threads


B D

December 19, 2013 at 10:52 am

I have just updated the calendar, and the days and months are in English (my previous translations have been overridden). In the previous version, I could do the translation in the calendar’s settings; this is not the case after the update.

Where can I translate the days and months’ names?


Josh

  • Support Staff

December 19, 2013 at 11:25 am

The latest .po file for your language has the day and month text strings and can be downloaded here:

https://github.com/eventespresso/languages

more info here:

https://eventespresso.com/wiki/how-to-change-languages/

https://eventespresso.com/wiki/translating-event-espresso/


B D

December 19, 2013 at 11:36 am

Thank you.

The problem is, my language files .po/.mo are in the uploads files (to avoid overwritting when updating), where I corrected many mistakes. I cannot find the days’ names in these files to translate them.

In the previous version of the calendar, days’ and months’ names were placed in the calendar’s settings (it is there that I could translate them).


Josh

  • Support Staff

December 19, 2013 at 12:06 pm

The months and day names are in the updated .po files. They are not in the older ones that your .po files are based on.


B D

December 19, 2013 at 12:25 pm

I understand this. However, I cannot overwrite the .mo/.po files because I would lose all my corrections and modifications.

I suppose the solution is to indicate me the exact file in which the days and months are placed now and I add them to my .po./.mo files and translate them. Or perhaps is there any other solution?


Josh

  • Support Staff

December 19, 2013 at 1:03 pm

Yes, there is another solution that involves using the gettext filter in a function:

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


B D

December 19, 2013 at 1:42 pm

Thank you Josh.

The gettext solution works… until some word with accents is needed. It doesn’t accept words with accents, so for many languages this is a problem. There is also a small problem with the word “All-Day” in the calendar, which does not change although I have translated it with the gettext solution.

In which file are exactly situated the names of days and months and the word “All-Day”?

Thank you again.


Josh

  • Support Staff

December 19, 2013 at 2:09 pm

in the calendar add-on


B D

December 19, 2013 at 2:38 pm

Thank you Josh for your help.

Viewing 8 reply threads

The support post ‘Calendar's days and months' translation after update’ 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