I am using Poedit for my gettext i18n and it works fine. I use ZF2, where there are viewers for translating integration. One of them is translate , the other is translatePlural .
Using:
<?php echo $this->translate('Welcome') ?> <?php echo $this->translatePlural('Item', 'Items', $number) ?>
In Poedit, I add the translate and translatePlural keywords. Normal translations work fine, but for multiple forms only "Item" is found (not "Items"). For testing, I replaced the call of $this->translatePlural() with ngettext() , but in the end I got the same result. My conclusion: (my version) Poedit cannot scan multiple forms.
What should I enter as a keyword so that Poedit also looks at the second line?
source share