Name

dngettext — Translates the text using a locale-aware plural form handling

Synopsis

string dngettext ( string textdomain ,
  string singular ,
  string plural ,
  integer value );
 

Parameters

string textdomain

string singular

string plural

integer value

Return

string

Description

Translates the text using a locale-aware plural form handling using the given textdomain.

The chosen form of the translation depend on the value.

This is a special case builtin not intended for general use. See _() instead.

Usage

  dngettext ("base", "%1 File", "%1 Files", 2) -> "%1 soubory"