translate_nooped_plural ( $nooped_plural, $count, $domain = 'default' )

  • (array) nooped_plural { Array that is usually a return value from _n_noop() or _nx_noop(). @type string $singular Singular form to be localized. @type string $plural Plural form to be localized. @type string|null $context Context information for the translators. @type string|null $domain Text domain. }
  • (int) count Number of objects.
  • (string) domain Optional. Text domain. Unique identifier for retrieving translated strings. If $nooped_plural contains a text domain passed to _n_noop() or _nx_noop(), it will override this value. Default 'default'.
  • (string) Either $singular or $plural translated text.
Defined at:


Translates and returns the singular or plural form of a string that's been registered with _n_noop() or _nx_noop().Used when you want to use a translatable plural string once the number is known. Example: $message = _n_noop( '%s post', '%s posts', 'text-domain' ); ... printf( translate_nooped_plural( $message, $count, 'text-domain' ), number_format_i18n( $count ) );

Related Functions

translate_user_role, _wp_translate_postdata, translate, translate_smiley, translations_api

Top Google Results

User discussions

wpseek mobile