addTextDomain()
public method
Add text domain for gettext
setDomain()
public method
translatePlural()
public static method
Example of usage plural form + sprintf
equal to sprintf(ngettext('%d comment', '%d comments', 4), 4)
Translator::translatePlural('%d comment', '%d comments', 4, 4)
Example of usage plural form + sprintf
equal to sprintf(ngettext('%d comment', '%d comments', 4), 4, 'Topic')
Translator::translatePlural('%d comment to %s', '%d comments to %s', 4, 'Topic')
$domain protected property