I am internationalizing a python program and cannot get multiple forms into a .pot file. I noted a line that requires multiple translations using _pl (), for example.
self.write_info(_pl("%(num)d track checked", "%(num)d tracks checked",
song_obj.song_count) % {"num" : song_obj.song_count})
Then I run:
xgettext --language=Python --keyword=_pl --output=output.pot *.py
Only the first (single) line is created in the pot file.
source
share