开发者

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

开发者 https://www.devze.com 2023-04-05 13:31 出处:网络
After doing: django-admin.py compilemessages My django.po file became empty. All my translations are gone.

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

精彩评论

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

关注公众号