My local development environment (Local by Flywheel), enables Xdebug by default. When trying to run
yarn translate, I run into this error Uncaught Error: Maximum function nesting level of ‘256’ reached, aborting!
You can fix this error by replacing
wp i18n make- by
php -d xdebug.max_nesting_level=512 $(which wp) i18n make- in your package.json.