Block Library: Move translatable fields to block.json
files for core blocks
#23792
Labels
Internationalization (i18n)
Issues or PRs related to internationalization efforts
[Package] Block library
/packages/block-library
[Status] In Progress
Tracking issues with work in progress
Part of #16209.
Depends on #23636 – i18n support to
block.json
metadata file is missing at the moment.Move translatable fields (
title
,description
,keywords
,styles.label
) toblock.json
for all core blocks.Done
In addition to that,See:wp_set_script_translations
call should be added to ensure that translations are loaded for the script (similar to what was added in #24125).https://github.com/WordPress/wordpress-develop/blob/e4bda140d4437f5bd5690e18bc12a0eb70bb92c9/src/wp-includes/blocks.php#L137-L139
The text was updated successfully, but these errors were encountered: