Doc #51246 [Opn]: PL Translation: http://www.php.net/manual/en/function.ngettext.php
| From: | norbert at linux dot pl | Date: | Tue, 09 Mar 2010 11:58:40 +0000 |
| Subject: | Doc #51246 [Opn]: PL Translation: http://www.php.net/manual/en/function.ngettext.php | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4023@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51246&edit=1
ID: 51246
User updated by: norbert at linux dot pl
Reported by: norbert at linux dot pl
Summary: PL Translation:
http://www.php.net/manual/en/function.ngettext.php
Status: Open
Type: Documentation Problem
Package: Translation problem
-Operating System: Debian GNU/Linux Lenny AMD62
+Operating System: Debian GNU/Linux Lenny AMD64
-PHP Version: 5.3.2
+PHP Version: 5.3.1
New Comment:
Small mistake in completing submit form.
Previous Comments:
------------------------------------------------------------------------
[2010-03-09 12:53:28] norbert at linux dot pl
Description:
------------
oken -> okien
(one char is missing)
http://www.php.net/manual/en/function.ngettext.php
:
Examples
Example #1 ngettext() example
<?php
setlocale(LC_ALL, 'cs_CZ');
printf(ngettext("%d window", "%d windows", 1), 1); // 1 okno
printf(ngettext("%d window", "%d windows", 2), 2); // 2 okna
printf(ngettext("%d window", "%d windows", 5), 5); // 5 oken
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51246&edit=1