A translation sometimes does not work

Magento 2 bug: «bin/magento setup:static-content:deploy -f <multiple locales>» does not generate a correct «js-translation.json» for the second and next locales (and my fix)