dcgettext

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

dcgettextOverrides the domain for a single lookup

说明

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

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

参数

domain

The domain

message

The message

category

The category

返回值

A string on success.

参见

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