Funkce překladu:
if(is_single()) { //If this is a "post" _e('This is a post.'); }
if(is_single()) { //If this is a "post" echo __('This is a post.'); }
the_content(__('Click here to read more'));echo _n('There is a comment' , 'There are comments' , get_comments_number());
_ex('post link' , 'Submit a link');echo _x('post link' , 'A link to the post');printf(__('You have chosen the %s theme.') , the_color());echo sprintf(__('You have chosen the %s theme.') , the_color());