Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我用:
django-admin makemessages -l fa_IR
更新翻译文件。该过程进展顺利,没有任何问题。但是当我在翻译.po文件后运行命令时,之前完成的所有翻译都将被删除并替换为新.po文件。
.po
该.mo文件仍然可用。
.mo
更新所有可用语言的消息文件。阅读文档以获取更多信息
django-admin makemessages -a -s
然后编译
django-admin compilemessages
并重新启动您的服务器