Archived topic
template-config
17 replies · Started by James on October 16, 2022
Viewing posts 16–18 of 18
Hi,
Just another quick question does your plugin create 2 .json files in wp-content/languages/themes aswell as .mo and .po files?
Thanks
I believe that is to do with the wp_set_script_translations function introduce in WP 5.
Themes and plugins that use that function ( which GP does ) will create .json files from any language translations.
That json can then be used for translating strings in Javacript.
More info here:
This archived topic is closed to new replies.