wordpress-develop/tests/phpunit/data/languages
Greg Ziółkowski edd77c0791 Blocks: Add i18n support to register_block_type_from_metadata
Related Gutenberg issue: https://github.com/WordPress/gutenberg/issues/23636.
Related WP-CLI PR: https://github.com/wp-cli/i18n-command/pull/210.
Related documentation proposal: https://github.com/WordPress/gutenberg/blob/master/docs/designers-developers/developers/block-api/block-metadata.md#internationalization-not-implemented

Adds programatic i18n support to `register_block_type_from_metadata` function for block settings registered from `block.json` file that provides `textdomain` field.


Props swissspidy, ocean90.
Fixes #52301.



git-svn-id: https://develop.svn.wordpress.org/trunk@49981 602fd350-edb4-49c9-b593-d223f7449a82
2021-01-19 11:04:03 +00:00
..
plugins Blocks: Add i18n support to register_block_type_from_metadata 2021-01-19 11:04:03 +00:00
themes I18N: Revert [49236] for now to investigate alternative implementations. 2020-11-12 14:41:19 +00:00
admin-en_GB.mo Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
admin-en_GB.po Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
admin-en_US-script-handle.json I18N: Add JavaScript translation support. 2018-12-14 05:51:31 +00:00
admin-es_ES.mo Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
admin-es_ES.po Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
admin-network-en_GB.mo Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
admin-network-en_GB.po Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
admin-network-es_ES.mo Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
admin-network-es_ES.po Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
continents-cities-es_ES.mo Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
continents-cities-es_ES.po Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
de_DE.mo Privacy: Ensure the personal data export email is sent in the locale of the user whose data is being exported (or the site's default locale if they are not a registered user) when the administrator fulfilling the request uses a different locale. 2019-03-28 21:28:37 +00:00
de_DE.po Privacy: Ensure the personal data export email is sent in the locale of the user whose data is being exported (or the site's default locale if they are not a registered user) when the administrator fulfilling the request uses a different locale. 2019-03-28 21:28:37 +00:00
en_GB.mo Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
en_GB.po Tests: Update language files to include a Language header. 2016-10-25 22:25:08 +00:00
en_US-813e104eb47e13dd4cc5af844c618754.json I18N: Add JavaScript translation support. 2018-12-14 05:51:31 +00:00
es_ES.mo Tests: Update the es_ES string used in wp_send_user_request() tests to match the current translation. 2020-07-23 18:21:13 +00:00
es_ES.po Tests: Update the es_ES string used in wp_send_user_request() tests to match the current translation. 2020-07-23 18:21:13 +00:00
ja_JP.mo I18N: Allow the length of automatically generated excerpts to be localized. 2019-06-08 18:41:08 +00:00
ja_JP.po I18N: Allow the length of automatically generated excerpts to be localized. 2019-06-08 18:41:08 +00:00