# Find PO files, process each with msgfmt and rename the result to MO
# see http://codex.wordpress.org/I18n_for_WordPress_Developers#MO_files
for file in `find $1/languages/ -name "*.po"` ; do msgfmt -o ${file/.po/.mo} $file ; done
