Strings of 'kadence-extension-block-css' are not displayed translated:
Example (Language set to Dutch)

|
// Block CSS Scripts & Styles. |
|
$kadence_block_css_meta = kadence_blocks_get_asset_file( 'dist/extension-block-css' ); |
|
wp_register_script( 'kadence-extension-block-css', KADENCE_BLOCKS_URL . 'dist/extension-block-css.js', array_merge( $kadence_block_css_meta['dependencies'], array( 'wp-api', 'kadence-blocks-js' ) ), $kadence_block_css_meta['version'], true ); |
|
// wp_register_style( 'kadence-extension-block-css', KADENCE_BLOCKS_URL . 'dist/extension/block-css.css', array( 'wp-edit-blocks' ), $kadence_block_css_meta['version'] ); |
|
wp_set_script_translations( 'kadence-extension-block-css', 'kadence-blocks' ); |
I noticed that the "kadence-blocks-nl_NL-1a73d00ae8457b305d7bec9a7dab6918.json" file with the translations is not created in the "/wp-content/languages/plugins/" folder. I tried creating it manually and my translations showed up.
Strings of 'kadence-extension-block-css' are not displayed translated:
Example (Language set to Dutch)

kadence-blocks/includes/class-kadence-blocks-editor-assets.php
Lines 103 to 107 in de73103
I noticed that the "
kadence-blocks-nl_NL-1a73d00ae8457b305d7bec9a7dab6918.json" file with the translations is not created in the "/wp-content/languages/plugins/" folder. I tried creating it manually and my translations showed up.