You can use the “Loco Translate” plugin for this. You’ll need to create a “translations” folder inside the theme folder and create the POT file with the plugin. With this you can create the PO file and download it or edit it directly. Don’t forget to define your text domain in the wp-config.php 😉
Hope this helps!