Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter pj.riffaud

    (@pjriffaud)

    Hi Guillaume,

    No… Polylang didn’t answer, you have the answer by Job-manager here and Listify support don’t seems to care a lot about this issue…

    The better way to solve it is set the language from the content and rewrite the fields in function.php like this :

    function custom_submit_job_form_fields( $fields ) {
    
        $fields['job']['job_title']['label'] = __( 'Food Truck name', 'listify' );
    	$fields['job']['job_location']['label'] = __( 'Food Truck location', 'listify' );
    	$fields['job']['job_location']['description'] = __( 'Leave this blank if the location is not important', 'listify' );
    	$fields['company']['company_website']['label'] = __( 'Website', 'listify' );
        $fields['job']['job_region']['label'] = __( 'Base Country', 'listify' );
        $fields['job']['job_type']['label'] = __( 'Type', 'listify' );
        $fields['job']['job_category']['label'] = __( 'Category', 'listify' );
        $fields['job']['job_category']['taxonomy'] = 'job_listing_category';
    
        return $fields;
    }

    And modify the .po files of all languages. This works fine.
    BUT…
    I don’t why for now but I have an issue for the category field.
    Once is the good language, another time is another.
    You can take a look of my website to have an idea :
    http://www.sigaelfoodtruck.com

    Br

    Thread Starter pj.riffaud

    (@pjriffaud)

    Hi Adam,

    Thanks for your answer, I’ve asking to polylang and listify but no answer from them about that.

    The things i don’t understand is : why it’s works with a parameter of polylang and why doesn’t work with an other parameter :-/

    If will tell you if I find something to solve that.
    Thanks (and btw, great plugin 😉 ).

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