Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to convert gettext .mo file into .po file [closed]

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?

like image 577
morteza Avatar asked Jun 02 '12 16:06

morteza


People also ask

How do I open a .MO file?

If you cannot open your MO file correctly, try to right-click or long-press the file. Then click "Open with" and choose an application. You can also display a MO file directly in the browser: Just drag the file onto this browser window and drop it.

What is .po file type?

A . PO file is a portable object file, which is text-based. These types of files are used in commonly in software development. The . PO file may be referenced by Java programs, GNU gettext, or other software programs as a properties file.

What are .po and .mo files?

The MO file includes the exact same contents as PO file. The two files differ in their format. While a PO file is a text file and is easy for humans to read, MO files are compiled and are easy for computers to read. Your web server will use the MO file to display the translations.

What is a .MO file Poedit?

MO files are standard translation and language files, the Poedit software automatically lists the original string along with the translation. Note how the above document appears as it should, not jumbled or scrambled. To edit a string, simply click once to select the string + translation.


1 Answers

msgunfmt [path_to_file.mo] > [path_to_file.po] 
like image 113
Octavian Vladu Avatar answered Sep 28 '22 02:09

Octavian Vladu