[Support request] template-config

Home Forums Support [Support request] template-config

Home Forums Support template-config

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #2377351
    David
    Staff
    Customer Support

    Hi there,

    this is the plugin we use:

    https://wordpress.org/plugins/two-factor/

    #2382738
    James

    Hi,

    Just another quick question does your plugin create 2 .json files in wp-content/languages/themes aswell as .mo and .po files?

    Thanks

    #2382858
    David
    Staff
    Customer Support

    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:

    https://localise.biz/wordpress/plugin/manual/json

Viewing 3 posts - 16 through 18 (of 18 total)
  • You must be logged in to reply to this topic.