[wp-trac] [WordPress Trac] #64333: I18N: border.radiusSizes key is missing in theme-i18n, json
WordPress Trac
noreply at wordpress.org
Tue Dec 2 07:45:45 UTC 2025
#64333: I18N: border.radiusSizes key is missing in theme-i18n,json
--------------------------+-----------------------------
Reporter: wildworks | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Originally reported at https://github.com/WordPress/gutenberg/issues/73688
by [https://github.com/LenVan LenVan] (I couldn't find the linked
WordPress user for this GitHub user).
For preset names to be translatable, the preset key must be defined in
[https://github.com/WordPress/wordpress-
develop/blob/6045c24efe16f3685c40ed9cac147ff22d5c65d2/src/wp-includes
/theme-i18n.json theme-i18n.json].
This is defined in
[https://github.com/WordPress/gutenberg/blob/48a6e8ae52d97441b0bbb593162124eb6c74dd46/lib
/theme-i18n.json the `theme-i18n.json` file that the Gutenberg plugin
has], but not in the core one.
As a result, even if a theme developer releases a theme with radius
presets, they cannot make the preset names translatable.
We need to the following keys:
{{{
{
"settings": {
"border": {
"radiusSizes": [
{
"name": "Border radius size name"
}
]
},
"blocks": {
"*": {
"border": {
"radiusSizes": [
{
"name": "Border
radius size name"
}
]
}
}
}
}
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64333>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list