Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mshams

    (@mshams)

    Hello
    It was discovered that the problem with the site’s language is Arabic
    Screenshot : https://prnt.sc/t8n5yz
    If you change the language to English, the problem is resolved!
    But I have to keep the Arabic language
    Waiting for a solution
    Thank you

    • This reply was modified 4 years, 8 months ago by mshams.
    Plugin Author yoancutillas

    (@yoancutillas)

    Hello,

    I could reproduce the problem and identify its origin (the numeral system).
    I will provide a fix in the next version.

    For now, you can
    – Use “English” as Site language, or any other locale using the Western Arabic numeral system (0 1 2 3 4 5 etc. instead of ? ? ? ? ? ?)

    – Switch the calendar locale thanks to that code:

    function my_theme_override_calendar_locale( $bookacti_localized, $messages ) {
    	$bookacti_localized[ 'fullcalendar_locale' ] = 'ar-dz';
    	return $bookacti_localized;
    }
    add_filter( 'bookacti_translation_array', 'my_theme_override_calendar_locale', 10, 2 );

    Replace ‘ar-dz’ with one of the supported locale codes.

    You can add that code in your child theme’s functions.php or with a plugin like Code Snippets.

    Regards,
    Yoan Cutillas

    Thread Starter mshams

    (@mshams)

    thank you very much

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Activities disappear from the calendar’ is closed to new replies.