Having started off with an incomplete gettext .pot file, the resulting .po translations file now includes a large number of translation strings that were not originally in the .pot file.
How can I backwards generate a .pot file for other languages (strings with blank translation entries) from a translated .po file?
Thanks for your help.
With current PoEdit 3.4.1 for Windows there is no msgfilter.exe
, but you can use xgettext.exe
(you can find it in ...\Poedit\GettextTools\bin) to generate a .pot file starting from the .po file:
xgettext.exe -i xx.po -o new.pot