[wp-trac] [WordPress Trac] #60509: Font Collection: Font name and description are not translatable

WordPress Trac noreply at wordpress.org
Mon Feb 12 18:31:24 UTC 2024


#60509: Font Collection: Font name and description are not translatable
--------------------------+---------------------
 Reporter:  wildworks     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.5
Component:  Editor        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------

Comment (by swissspidy):

 Replying to [comment:3 youknowriad]:
 > Maybe we can do here something similar to block.json and theme.json
 translations?

 But those files are in source control. The font collection file is
 retrieved from another server and can change any moment. So that doesn't
 work.

 Unless we move this file to version control, I think updating
 `wp_register_font_collection` is the only way.

 Maybe you can elaborate why this file is loaded from the CDN right now?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60509#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list