1. Django configuration internationalization is an error
PS D:\Django_project\djangomall> python .\manage.py makemessages -l zh_Hans
CommandError: Can't find msguniq.
Make sure you have GNU gettext tools 0.15 or newer installed.
Prompt to install GNU gettext tools
2. GNU gettext installation
Download address: https://download.gnome.org/binaries/win32/dependencies/
Select the two installation packages below
Put the two installation packages in one folder, and unzip them into the same folder. My path is D:\gettext_0.17. The path after decompression is as follows:
3. GNU gettext environment variable settings
Add the bin path of gettext-runtime-0.17 and gettext-tools-0.17 to the system environment variable. My path is as follows:
D:\gettext_0.17\gettext-runtime-0.17\bin
D:\gettext_0.17\gettext-tools-0.17\bin