WordPress.org

Ready to get started?Download WordPress

Forums

WP FullCalendar
how to translate the search filter default options text (2 posts)

  1. omegacoder
    Member
    Posted 1 year ago #

    How to translate the following text in calendar filters:

    1) All Event Tags
    2) All Event Categories

    Also, the Month, Week, Day Text. These are in .pot file, so if I'm running multisite with each site on a different language how do change the above text? Thanks anyone

    http://wordpress.org/extend/plugins/wp-fullcalendar/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    we'll make this an option in coming releases via the settings page, otherwise you need something like this to add to your theme functions.php file:

    function em_wpfullcalendar_category_label($taxonomy_args,$taxonomy){
     if ( $taxonomy->name == 'event-categories'){
      $taxonomy_args['show_option_all'] = 'All Cats';
     }
     return $taxonomy_args;
    }
    add_filter('wpmfc_calendar_taxonomy_args','em_wpfullcalendar_category_label',1,2);

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.