array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'function.textdomain.php', 1 => 'textdomain', ), 'up' => array ( 0 => 'ref.gettext.php', 1 => 'Funciones de Gettext', ), 'prev' => array ( 0 => 'function.ngettext.php', 1 => 'ngettext', ), 'next' => array ( 0 => 'book.iconv.php', 1 => 'iconv', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'es', 'path' => 'reference/gettext/functions/textdomain.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
textdomain — Establece el dominio actual
Esta función establece el dominio en el que se realizarán las búsquedas llamadas por gettext(), normalemente por el nombre de la aplicación.
text_domain
El nuevo mensaje del dominio, o null
para obtener el valor actual y
no cambiarlo
Si es correcto, esta función devuelve el dominio del mensaje actual, después de cambiarlo.