- PHP 手册
- 函数参考
- 国际化与字符编码支持
- Gettext
- Gettext 函数
dngettext
(PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)
dngettext — Plural version of dgettext
说明
dngettext(string
$domain
,string
$singular
,string
$plural
,int
$count
): string
The dngettext() function allows you to override
the current domain
for a single plural message lookup.
参数
-
domain
-
The domain
-
singular
-
-
plural
-
-
count
-
返回值
A string on success.
参见
- ngettext() - Plural version of gettext
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/function.dngettext.php