Configuring gettext 0.18 for Django Internationalization
To use gettext 0.18 with Django for internationalization or to compile PO files into MO files, follow these steps. The 0.18 version fully meets the requirements of Django 1.4.5 for gettext versions above 0.15. Extract the files and add the path to the bin directory to the environment variable PATH. You can then generate internationalization files in Django with the command `django-admin.py makemessages -l zh_CN`. For compiling, use the command `msgfmt -o **.mo **.po` in the command prompt.
4.7MB
文件大小:
评论区