Making WordPress.org

Changes between Initial Version and Version 1 of Ticket #6270, comment 1


Ignore:
Timestamp:
04/12/2022 07:18:33 AM (3 years ago)
Author:
kittmedia
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6270, comment 1

    initial v1  
    11According to the Block Editor Handbook (https://developer.wordpress.org/block-editor/how-to-guides/internationalization/) you need to use `wp_set_script_translations()` (https://developer.wordpress.org/reference/functions/wp_set_script_translations/) so that the translations are loaded.
     2
     3Edit: Sorry, the GitHub search is sometimes a little bit buggy … I couldn’t find your `wp_set_script_translations` in the first try.