Translations:Help:Extension:Translate/Command line scripts/22/en

It has $1 parameter, which takes a completion percentage that must be met for a language to be exported.