Register plural strings in POT file, but don't translate them.
Used when you want to keep structures with translatable plural strings and use them later.
<?php _n_noop( $singular, $plural, $domain ) ?>
array(
0 => $singular,
1 => $plural,
'singular' => $singular,
'plural' => $plural,
'context' => null,
'domain' => $domain
)
$messages = array(
'post' => _n_noop('%s post', '%s posts'),
'page' => _n_noop('%s page', '%s pages')
);
...
$message = $messages[$type];
$usable_text = sprintf( translate_nooped_plural( $message, $count, $domain ), $count );
This function replaces __ngettext_noop which was deprecated
_n_noop() is located in /wp-includes/l10n.php.
L10n: translate(), __(), _e(), _n(), _x(), _ex(), _nx(), esc_attr__(), esc_attr_e(), esc_attr_x(), esc_html__(), esc_html_e(), esc_html_x(), _n_noop(), _nx_noop(), translate_nooped_plural()