Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<bindtextdomaindcngettext>
^Gettext FunctionsLast updated: Mon, 26 Oct 2026

dcgettext

(PHP 4, PHP 5, PHP 7, PHP 8)

dcgettext — Overrides the domain for a single lookup

Description

function dcgettext(string $domain, string $message, int $category): string

This function allows you to override the current domain for a single message lookup.

Parameters

domain

The domain

message

The message

category

The category

Return Values

A string on success.

See Also

  • gettext() - Lookup a message in the current domain


<bindtextdomaindcngettext>
^Gettext FunctionsLast updated: Mon, 26 Oct 2026