• Resolved marcintomas

    (@marcintomas)


    Hello,

    I have problem with translate. I don’t know what’s the problem, but I have one problem with translated – week day are in english. How i Can change that?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author wpdevart

    (@wpdevart)

    Hi dear user.

    What version are you using?

    Thanks.

    Thread Starter marcintomas

    (@marcintomas)

    2.4.8

    Plugin Author wpdevart

    (@wpdevart)

    Dear user.

    Did you you check .po file and the option “Use mo” from Booking Calendar Themes settings page(Default texts tab) ?

    Thanks.

    Thread Starter marcintomas

    (@marcintomas)

    I checked and tried different options. In addition, I checked on the German version, also does not translate the days of the week.

    Plugin Author wpdevart

    (@wpdevart)

    Hi dear user again.

    Try to do the following. Go to our plugin folder and change the includes/booking_class.php file. You need to find this line –

    $week_day = '<span class="week-day-mobile">' . $week_days_mob[ $di ] . '</span><span class="week-day-screen">' . $week_days[ $di ] . '</span>';

    And change it with this code –

    $week_day = '<span class="week-day-mobile">' . __($week_days_mob[ $di ], 'booking-calendar' ) . '</span><span class="week-day-screen">' . __($week_days[ $di ], 'booking-calendar' ) . '</span>';

    Thanks.

    • This reply was modified 5 years ago by wpdevart. Reason: fixed mistake
    Plugin Author wpdevart

    (@wpdevart)

    Hi dear user.

    Did you try this solution?

    Thanks.

    Plugin Author wpdevart

    (@wpdevart)

    Hi dear user.

    As we understand, it worked, so we are going to close this topic, if you have other questions then cotnact us again.

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problem with days translate’ is closed to new replies.