开发者

Django localization: my django.po file became empty after compiling

After doing: django-admin.py compilemessages

My django.po file became empty. All my translations are gone. The compiled django.mo file is still there. I have a copy of my django.po on github 开发者_如何学Pythonbut it's 1 day old.

Is there any way to decompile the django.mo to get the last added translations?


The binary *.mo files from gettext could be "decompiled" by using msgunfmt: http://www.gnu.org/software/gettext/manual/gettext.html#msgunfmt-Invocation

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜