Support » Plugin: WooCommerce Blocks » Translation of blocks interface

  • Resolved Tim W



    I notice your plugin makes use of the new wp_set_script_translations function in WordPress 5. However, none of the available language packs contain the required JSON files.

    Despite the relevant translations being present in the MO files, these strings are not passed into the JavaScript. (Example string: Products by Category)

    How are WooCommerce users advised to install translations for this plugin so the blocks interface is localized?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor levinmedia


    Hi @timwhitlock My apologies for the slow response – We’re tracking this issue as a bug. We’ll be Updating the translation file with the latest JS strings which should solve your issue.

    We’ll be releasing a patch that includes this update shortly.

    For reference, here’s the issue we’re tracking in GitHub:

    Tim W


    Thanks. I’m aware that part of this is a GlotPress issue, but I also note that wp_set_script_translations in your plugin is called redundantly. I’ll comment on your Github thread about that instead.

    Plugin Support Mike W


    Hi @timwhitlock,

    This particular GitHub issue has been closed, if you are still having the issue let us know by re-opening it. I will go ahead and close this particular thread.

    Tim W


    OK, thank you for your work. I’ll check it out again soon.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Translation of blocks interface’ is closed to new replies.