Sometimes a variable is a number, this example shows how to translate this
$rating = '4'; printf(_n('%s star', '%s stars', $rating, 'textdomain'), $rating);
Sometimes a variable is a number, this example shows how to translate this
$rating = '4'; printf(_n('%s star', '%s stars', $rating, 'textdomain'), $rating);