Small i18n issue
-
Hi
I’m on the Swedish translation team. As I was validating translations from a couple of other volunteers, I spotted at least one place in the code where it would be really beneficial to use printf().
Please avoid as much as possible to build sentences by concatenating several strings. Some languages may need to put stuff in a different order. And in some cases word may have different form depending on their syntactical function in the sentence.$html .= '<div class="ideapush-vote-target">'.__( 'Get your idea to', 'ideapush' ).' '.esc_html($voteThreshold).' '.__( 'to be reviewed', 'ideapush' ).'</div>';
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Small i18n issue’ is closed to new replies.