Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Pull translations with Transifex client, create the mo and remove the po
#! /bin/sh
# Pull all files from Transifex;
# Minimum percentage change to whatever you want
tx pull -a --minimum-perc=100
# Create .mo files from .po files.
# Twisted by, created by grappler.
for file in `find . -name "*.po"` ; do msgfmt -o ${file/.po/.mo} $file && rm $file ; done

This comment has been minimized.

Copy link

@garex garex commented Nov 12, 2014

I want it in tx client :)


This comment has been minimized.

Copy link
Owner Author

@fxbenard fxbenard commented Nov 25, 2014

@garex use my Grunt tasks you'll have it included then ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.