2
0

rebuild-translation-sources.sh 284 B

12345678910
  1. # Delete old translation sources
  2. find ../wagtail -iname *.po -iwholename */en/* -delete
  3. # Run makemessages on each app
  4. for d in $(find ../wagtail -iwholename */locale/* | sed 's|\(.*\)/locale.*|\1|' | sort -u);
  5. do
  6. pushd $d
  7. django-admin makemessages --locale=en
  8. popd
  9. done