mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-07 09:08:13 +08:00
Adding translation mo files automatically on build (#65)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import subprocess
|
||||
|
||||
|
||||
def generate_mo_files():
|
||||
subprocess.run(["django-admin", "compilemessages"])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
generate_mo_files()
|
||||
Reference in New Issue
Block a user