WordPress i18n Plural Forms: _n(), _nx(), printf with Placeholders and T ...
Plural forms and placeholders in WordPress translations The basic translation functions are easy: __() returns a string, _e() prints it. The difficult part is sentences with numbers and names. “3 posts deleted” built with concatenation and an if ( 1 === $count ) check is untranslatable: other languages put the number elsewhere, and many have…