• Resolved Noval

    (@webtix)


    “paid/free” are hard coded in wp-event-manager-function.php not using gettext …

    if (!empty( $args['search_ticket_prices'])) {	
    	if($args['search_ticket_prices'][0]=='ticket_price_paid') 
    	{  
    		$ticket_price_value='paid';     
    	}
    		else if ($args['search_ticket_prices'][0]=='ticket_price_free')
    	{
    	$ticket_price_value='free';
    	}
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ashok Dudhat

    (@ashokdudhat)

    Hi,

    It is not text, but it is backend value, nothing to do with translation.

    So Do not worry 🙂

    Thanks

    • This reply was modified 8 years, 10 months ago by Ashok Dudhat.
    Thread Starter Noval

    (@webtix)

    sorry, picked the wrong code.

    How to translate get_event_ticket_option() value (paid/free)?

    for now I managed to do it like this:

    echo __(get_event_ticket_option(),'wp-event-manager');

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘translation gettext …’ is closed to new replies.