Adding translation mo files automatically on build (#65)

This commit is contained in:
Stan Triepels
2023-01-26 16:45:44 +01:00
committed by GitHub
parent 2f3b0d0a31
commit f9e01699c5
2 changed files with 13 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import subprocess
def generate_mo_files():
subprocess.run(["django-admin", "compilemessages"])
if __name__ == "__main__":
generate_mo_files()