How to translate “$before” with get text in get_the_term_list?
Use the __() function, just as you see in the the_content() example: <?php echo get_the_term_list( // ID $post->ID, // taxonomy ‘book’, // Before __( ‘Books: ‘, ‘ft’ ), // Separator, see http://core.trac.wordpress.org/ticket/7897 __( ‘, ‘ ), // After ‘ ‘, // Looks like you’ve added an extra parameter? ” ); ?> Note 1: I split … Read more