[wp-trac] [WordPress Trac] #63150: Site Editor: "Custom Styles" is not translatable

WordPress Trac noreply at wordpress.org
Sun Mar 23 07:41:46 UTC 2025


#63150: Site Editor: "Custom Styles" is not translatable
--------------------------+-----------------------------
 Reporter:  wildworks     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Related tiket: ticket:54518

 The global styles post has a hard-coded `Custom Styles` text as a title.

 This seems to be the intended use, and it is assumed that this string will
 not appear anywhere. However, **this string does appear in the pre-save
 panel in the site editor**.

 if we have any problems with making this string translatable on the server
 side, we would need some fix to the client side(Gutenberg).

 Probably around here:
 https://github.com/WordPress/gutenberg/blob/f8521012e0923907df67e1f0beab8c955d8ab012/packages/editor/src/components
 /entities-saved-states/entity-record-item.js#L21-L52

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63150>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list