• Roy Eyal

    (@royeyal)


    on api-template.php the strings Title and Content can’t be translated:

    // post_title
    	if( $args['post_title'] ) {
    
    		$fields[] = acf_get_valid_field(array(
    			'name'		=> '_post_title',
    			'label'		=> 'Title',
    			'type'		=> 'text',
    			'value'		=> $post_id ? get_post_field('post_title', $post_id) : '',
    			'required'	=> true
    		));
    
    	}
    
    	// post_content
    	if( $args['post_content'] ) {
    
    		$fields[] = acf_get_valid_field(array(
    			'name'		=> '_post_content',
    			'label'		=> 'Content',
    			'type'		=> 'wysiwyg',
    			'value'		=> $post_id ? get_post_field('post_content', $post_id) : ''
    		));
    
    	}

    https://www.ads-software.com/plugins/advanced-custom-fields/

Viewing 1 replies (of 1 total)
  • Thread Starter Roy Eyal

    (@royeyal)

    I’ve manually replaced Title with __(‘Title’,’acf’) – but I hope there will be an update for that soon.

Viewing 1 replies (of 1 total)
  • The topic ‘Title and Content can't be translated’ is closed to new replies.