Kornel Lesinski pisze:
On 8 Jan 2010, at 17:21, Marcin Głowacki wrote:
Thanks for your advice @phptal plural forms. It is working but i
stuck on other problem - how to add plural translation in a tal
variable?
for example:
and session/message for $n = 5 looks like:
'Added pictures
Thanks for your advice @phptal plural forms. It is working but i stuck
on other problem - how to add plural translation in a tal variable?
for example:
and session/message for $n = 5 looks like:
'Added pictures into
queue';
phptal is ommitting whole element.
afaik phptal is always ommiti
How to use gettext plural forms in PO file?
I've added suitable header ("Plural-Forms: nplurals=2; plural=n != 1;\n"
- for english) and tried in different ways:
msgid "picture"
msgid_plural "pictures"
msgstr[0] "picture"
msgstr[1] "pictures"
or
msgid "picture"
msgid_plural "${n} pictures"
ms