Cannot be translated in editor gutenberg
-
if (!getBlockType('plugin/retail-section-shortcode')) { registerBlockType('plugin/retail-section-shortcode', { title: __('Start of member article', 'plugin'), icon: "editor-ltr", category: 'widgets', edit: Edit, save: function () { return '[retail-section-shortcode]'; }, }); } if (!getBlockType('plugin/close-retail-section-shortcode')) { registerBlockType('plugin/close-retail-section-shortcode', { title: __('End of member article', 'plugin'), icon: "editor-rtl", category: 'widgets', edit: CloseEdit, save: function () { return '[/retail-section-shortcode]'; }, }); }I have used Internationalize in BlockType registration on WordPress’ Gutenberg editor, But when I sync the new word with the Loco Translate plugin, it cannot be found.
Is there any way?
Please help me.
Thank you
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Cannot be translated in editor gutenberg’ is closed to new replies.