TanGio
TanGio

Reputation: 766

How to get .po files from .mo

I have a question for you. I have my translations .mo files but I want to get the .po files, is there a way to do this? My file source is :

/ressource
  /translation
    /es_ES.UTF-8
      /LC_MESSAGES
        test.mo

I tried :

msgunfmt /ressource/translation/mo/es_ES.UTF-8/LC_MESSAGES/test.mo > /ressource/translation/mo/es_ES.UTF-8/LC_MESSAGES/test.po but not result

Help me please

Upvotes: 2

Views: 778

Answers (2)

Thomas K
Thomas K

Reputation: 184

There are indeed several tools, one of them is Poedit. It is an install you can use for making .mo and .po files.

Upvotes: 0

Aviram
Aviram

Reputation: 3077

There are several online tools that do that using msgfmt. Here is one of them.

If you want to do it locally from the terminal just call:

msgunfmt /ressource/translation/mo/es_ES.UTF-8/LC_MESSAGES/test.mo

Upvotes: 4

Related Questions