array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'function.dcgettext.php', 1 => 'dcgettext', ), 'up' => array ( 0 => 'ref.gettext.php', 1 => 'Funções da Gettext', ), 'prev' => array ( 0 => 'function.bindtextdomain.php', 1 => 'bindtextdomain', ), 'next' => array ( 0 => 'function.dcngettext.php', 1 => 'dcngettext', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'pt_BR', 'path' => 'reference/gettext/functions/dcgettext.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
dcgettext — Substitui o domínio por um lookup
Esta função permite que você sobreescreva o domínio atual por uma simples mensagem de lookup.
domain
O domínio
message
A mensagem
category
A categoria
Uma string em sucesso.