[wp-meta] [Making WordPress.org] #7866: Strings from WordPress and Gutenberg `theme.json` not extracted
Making WordPress.org
noreply at wordpress.org
Fri Dec 20 11:16:18 UTC 2024
#7866: Strings from WordPress and Gutenberg `theme.json` not extracted
--------------------------------------+-----------------------
Reporter: oandregal | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: Translate Site & Plugins | Keywords: has-patch
--------------------------------------+-----------------------
The `theme.json` files bundled by WordPress (`wp-includes/theme.json`) and
Gutenberg (`lib/theme.json`) contain strings that are displayed in wp-
admin (block editor, site editor, etc.). These strings haven't been
extracted for a while and are not available for translation in
https://translate.wordpress.org/
While originally present for WordPress 5.8 and being available in
translate.wordpress.org as far as
[https://meta.trac.wordpress.org/ticket/5779#comment:11 December 3rd,
2021] they stopped being extracted at some point later. Asking meta folks
for database logs, they confirmed these strings were marked as "obsolete"
(hence, stopped being available in GlotPress) in December 16th, 2021. This
probably happened in preparation for the 5.8.3 minor release.
The reason for this was an issue with the i18n-command, see
[https://github.com/wp-cli/i18n-command/issues/423 details]. The issue has
been fixed as of this [https://github.com/wp-cli/i18n-command/pull/424
patch], to be merged soon.
Next steps:
- update the i18n-command in use by meta
- figure out if
[https://github.com/WordPress/wordpress.org/blob/83888a04df5f3d7d218503755543a73a6235c3ef/wordpress.org/public_html
/wp-content/plugins/wporg-gp-customizations/inc/cli/class-make-core-
pot.php Make_Core_Pot] needs any changes ([https://github.com/wp-cli/i18n-
command/pull/424#issuecomment-2556657667 related])
- trigger the string extraction process for all releases starting in
WordPress 5.8
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/7866>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list