You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines

  1. .PHONY: compile extract update
  2. extract:
  3. pybabel extract --mapping babel.cfg --output messages.pot ./
  4. compile:
  5. pybabel compile --directory translations/ --domain messages
  6. update: extract
  7. pybabel update --input-file messages.pot --output-dir translations/ --domain messages