PHP Gettext Functions

EditRocket provides the following information on Gettext functions in the PHP source code builder.

string bind_textdomain_codeset ( string $domain , string $codeset ) -

string bindtextdomain ( string $domain , string $directory ) - The bindtextdomain() function sets the path for a domain.

string dcgettext ( string $domain , string $message , int $category ) - This function allows you to override the current domain for a single message lookup.

string dcngettext ( string $domain , string $msgid1 , string $msgid2 , int $n , int $category ) - This function allows you to override the current domain for a single plural message lookup.

string dgettext ( string $domain , string $message ) - The dgettext() function allows you to override the current domain for a single message lookup.

string dngettext ( string $domain , string $msgid1 , string $msgid2 , int $n ) - The dngettext() function allows you to override the current domain for a single plural message lookup.

string gettext ( string $message ) - Looks up a message in the current domain.

string ngettext ( string $msgid1 , string $msgid2 , int $n ) -

string textdomain ( string $text_domain ) -