• Resolved tkonst

    (@tkonst)


    Hello,

    I was wandering, how can the months be translated according to the selected language. As I see, the translations are already included in pickadate (/plugins/my-calendar/js/pickadate/translations) but it doesn’t seem to work for me, all I see is the months in english. Is there anything that I could do?

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    The month translations aren’t sourced from the JS translations, they’re supplied using the native WordPress internationalization. So you should be able to get those translations using a completed translation file. I don’t know what language you’re going for, but the translation status of My Calendar is here:

    https://translate.www.ads-software.com/projects/wp-plugins/my-calendar

    Your assistance in completing translations is always welcome! I don’t have any ability to approve translations, however; that’s all handled by the WordPress translation team.

    Thread Starter tkonst

    (@tkonst)

    Thank you for your reply,I’m going for the Greek translation. I managed to translate the weekdays and their abbreviations but I can’t seem to find where I must add the month translations… Can you tell me which is the original text I must look for ?

    Plugin Author Joe Dolson

    (@joedolson)

    OK, I explained that incorrectly in my previous message. The text is not actually translated directly in My Calendar; it’s translated in the WordPress main translations file.

    The way the pickadate date translations happen is that the date is passed through the WordPress function date_i18n(), which returns a translated version of the date pattern passed.

    So if these terms are translated in the Greek translation of WordPress, you should be getting them in My Calendar.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘month translation’ is closed to new replies.