• How to translate the plugins time labels? In translation plugins, everything can be translated except those labels. Is there a way to write it over in the code? Anything will help. Thanks!

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

Viewing 1 replies (of 1 total)
  • Plugin Author Nabil Lemsieh

    (@nlemsieh)

    Hello,

    Sorry for this late response,

    This is something we’re working on it. In the meantime, you can use filters to translate the labels:

    
    // change 999 with your campaign ID
    add_filter('hurryt_999_campaign_timer_days_label'
    , function($days_label){
    
    // translate $days_label here;
    
    return $days_label;
    });
    
    // apply the same filter for other labels:
    hurryt_999_campaign_timer_hours_label
    hurryt_999_campaign_timer_minutes_label
    hurryt_999_campaign_timer_seconds_label
    

    Let me know if you need any help.

    Cheers,
    Nabil

Viewing 1 replies (of 1 total)
  • The topic ‘Translate “days” “hours” etc time labels’ is closed to new replies.