Codex tools: Log in
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 pages', '%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