How to convert gettext .mo file into .po file

morteza picture morteza · Jun 2, 2012 · Viewed 23.2k times · Source

Is there any way to convert a .mo file into a .po file source, when the .po file is no longer available? I need to edit the content of a .mo file but I don't have the .po file. Is it possible?

Answer

Octavian Vladu picture Octavian Vladu · Sep 10, 2012
msgunfmt [path_to_file.mo] > [path_to_file.po]