Translators need a POT file with every string your plugin or theme can show. WP-CLI makes one without Poedit.
From the plugin folder:
wp i18n make-pot . languages/my-plugin.pot
It scans PHP and JavaScript files for calls like __(), _e() and _n() and writes them all to the POT file with file and line references. The text domain comes from the Text Domain header in your main plugin file or style.css. --domain=my-plugin overrides it.
Some folders are always left out: node_modules, vendor, .git and minified *.min.js files. Add your own with --exclude=tests,build. If a bundler already extracts the JavaScript strings, --skip-js stops them from being counted twice.
I’d run this before every release, because a string that is not in the POT simply stays English. It only finds strings written as literal text, though. Something like __( $label, 'my-plugin' ) with a variable cannot be extracted, and that string will never be translated. The command does not warn you about it, so keep translatable text literal.
Further reading: wp i18n make-pot, Internationalization in plugins
Going deeper: Guide: let git bisect find the commit that broke your code