GENERATING TRANSLATION MESSAGES To generate the .pot file, run the following command in the po directory: pygettext3 -o apparmor-utils.pot ../apparmor/*.py $(find .. -executable -name 'aa-*') It will generate the apparmor-utils.pot file in the po directory.