Loader::generate_translation_strings()
Combine translation chunks when plugin is activated.
Description Description
This function combines JSON translation data auto-extracted by GlotPress from Webpack-generated JS chunks into a single file. This is necessary since the JS chunks are not known to WordPress via wp_register_script() and wp_set_script_translations().
Source Source
File: packages/woocommerce-admin/src/Loader.php