1 2 3 4 5 6
#!/bin/sh find ../../ -name *.php > /tmp/filelist find ../../ -name *.inc >> /tmp/filelist xgettext -f /tmp/filelist -L PHP -o ./messages.po