Localisation? Nothing simpler than that!
Just add the following command into your extraction process:
curl https://api.doloc.io --data-binary @input.xlf -o output.xlf
This will automatically upload the XLIFF file and translate all targets! You choose if you want your input file be overwritten by the output file or not!