[wp-trac] [WordPress Trac] #57807: Twenty Twelve and Twenty Fifteen: maintain font subset translations

WordPress Trac noreply at wordpress.org
Tue Feb 28 00:19:17 UTC 2023


#57807: Twenty Twelve and Twenty Fifteen: maintain font subset translations
---------------------------+------------------------------
 Reporter:  sabernhardt    |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+------------------------------

Comment (by sabernhardt):

 I was worried about possibly losing the translations, but checking known
 language codes might be better anyway.

 Looking at `no-subset`
 [https://docs.google.com/spreadsheets/d/10u20_PZN9wamRVjwTK2axtU5vgUG0p6X35FgrUaTjxE/edit?usp=sharing
 translations] again, the collection only seems reliable for a few Cyrillic
 languages—yet not ''all'' of them. Most translations are either the
 default `no-subset` or else invalid translations of the word instead of
 the setting (including Greek and Vietnamese).

 Valid, non-default translations:
 - Twenty Twelve has `cyrillic` for eight languages: Belarusian, Bengali,
 Korean(?), Kyrgyz, Russian, Serbian, Ukrainian and Uzbek. Belarusian,
 Bengali and Korean turned off the Open Sans font anyway.
 - Twenty Fifteen has `devanagari` for Bengali and `cyrillic` for four
 languages: Belarusian, Bulgarian, Russian and Serbian. Bengali and
 Belarusian disable all the packaged theme fonts; Russian and Serbian only
 turn off Inconsolata.

 Notes:
 - Devanagari was not an option for Twenty Twelve's Open Sans, but these
 proposed functions are not only for sites with the default font
 selection(s).
 - Irish and Lithuanian specify `latin-ext`, which technically was invalid
 in the original stylesheet functions, though it might have some use with
 these.

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


More information about the wp-trac mailing list