|
PHP5中文手册
ngettext(PHP 4 >= 4.2.0, PHP 5) ngettext — Plural version of gettext 说明
string ngettext
( string $msgid1
, string $msgid2
, int $n
)
The plural version of gettext(). Some languages have more than one form for plural messages dependent on the count. 参数
返回值Returns correct plural form of message identified by msgid1 and msgid2 for count n . 范例
Example#1 ngettext() example
<?php |