• Resolved amedic

    (@amedic)


    Hello,

    I’m using WPML and have 3 languages.
    When admin is logged in than translations on calendar are correctly translated.

    But is user is not logged in that months on calendar are not translated. Please check the following image:

    View post on imgur.com


    It seems that days are correctly translated.

    On Croatian months and dates are not translated:

    View post on imgur.com

    Can you please help me with the translation?

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author BookingCalendar

    (@bookingcalendar)

    Hi,

    it seems like WPML does not handle the AJAX requests well. I’m sorry, please check another translation option e.g. a plugin like qTranslate X

    Best,
    Jan

    Thread Starter amedic

    (@amedic)

    Thank you for the answer.
    Any help how to code the translation?
    Can I use qTranslate X in combination with WPML?

    Thanks

    Plugin Author BookingCalendar

    (@bookingcalendar)

    Hi amedic,

    sorry, I can’t help you here. I don’t know what your setup looks like.
    Our plugin is using the translation which is supported by WordPress, I don’t know how WPML handles the switches.
    The languages work fine for Polylang and qTranslate

    Best,
    Jan

    Thread Starter amedic

    (@amedic)

    Hello,

    can you please tell me in what file ajax is located, so I can try to code it?

    Thanks

    Plugin Author BookingCalendar

    (@bookingcalendar)

    Its in the file frontend/singlecalendar.php the function abc_booking_getSingleCalendar()

    Plugin Author BookingCalendar

    (@bookingcalendar)

    Hi amedic,

    I think I can help you now. In the language settings of WPML there is a setting called “Language filtering for AJAX operations”. If you activate it, it should work fine.

    Thanks,
    Jan

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to translate months and day on single calendar?’ is closed to new replies.