[wp-trac] [WordPress Trac] #28197: Fallback Languages

WordPress Trac noreply at wordpress.org
Thu Aug 13 13:38:36 UTC 2015


#28197: Fallback Languages
---------------------------+-------------------------
 Reporter:  downstairsdev  |       Owner:
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  I18N           |     Version:  4.0
 Severity:  normal         |  Resolution:  maybelater
 Keywords:                 |     Focuses:
---------------------------+-------------------------

Comment (by Kau-Boy):

 The problem is, that probably not a single theme or plugin has a mo-file
 for `es` or `de` but they more probably will have `es_ES` and `de_DE`. So
 falling back to a "generic locale" we have to define those generics.

 So a solution like @swissspidy propesed would be a variant. Adding a
 filter on that which a plugin could use to alter the fallbacks (or a
 custom translation by the translation maintainers, as @swissspidy proposed
 originally) might work for core.

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


More information about the wp-trac mailing list