我正在使用库来解决谷歌云AppEngine上缺少的gettext扩展。单数和复数形式在英语中相同,但在其他语言中不同。西班牙语的翻译应该是"%d correctos" (plural)但这给了我一个错误,因为单数msgid与复数msgid完全相同。即使是允许在翻译中添加上下文的函数dngettext()也不能做到这一点:
dngettext("Number of
Uncaught Error: Call to undefined function mb_detect_encoding() in C:\Server\Web\phpmyadmin\libraries\php-gettext\gettext.inc:177 Stack trace: #1 C:\Server\Web\phpmyadmin\libraries\php-gettext<
within the allowed path(s): (/usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettextwithin the allowed path(s): (/usr/share/phpmyadmin/:/etc/phpmyadmin