The previous analysis (written 2 years ago): How is js-translation.json file generated?
js-translation.json
See also:
bin/magento setup:static-content:deploy -f <multiple locales>