WordPress i18n CheatSheet
Whenever I write plugins or themes, there is one thing that needs a little extra attention and is quite frankly hard to get right: Translatable text. This list should helps me to find the right way fast.
Props to Alex Kirk, there list it inside a quiz.
You want to output the username in a sentence.
Assume that the
$username has been escaped using