[wp-trac] [WordPress Trac] #55495: Translate global style variations

WordPress Trac noreply at wordpress.org
Thu Mar 31 10:48:26 UTC 2022


#55495: Translate global style variations
-------------------------+-----------------------------
 Reporter:  oandregal    |      Owner:  oandregal
     Type:  enhancement  |     Status:  assigned
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  I18N         |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 WordPress 6.0 is adding the concept of style variations to Global Styles.
 These are separate `theme.json` files that provide a different set of
 styles.

 There're a few things we need to do to be able to translate what they
 provide:

 - make the `title` key from any `theme.json` translatable
   - requires changes to wp-cli i18n command
   - update the i18n schema available in core
 - make wp-cli's i18n-command look for `theme.json` files under the
 `styles/` folder of a theme (in addition to what it now does of looking in
 the top-level folder)

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


More information about the wp-trac mailing list