We've been using a library called TNT for this job and are quite happy with the flow: https://github.com/pragmatrix/tnt
You basically annotate all your strings with a "my string".t() or t($"my interpolated string: {var}") and then use their CLI to extract the strings to be translated. It even includes google translation API support for you to kickstart the process.