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

WordPress Trac noreply at wordpress.org
Sun May 8 12:25:14 UTC 2016


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

Comment (by Kau-Boy):

 @cvedovini something like this:

 {{{#!php
 if ( 'off' !== _x( 'off', 'Fallback locales' ) ) {
 // do the language fallback
 }
 }}}

 A translation team could than translate this string e.g. for the locale
 "de_DE_formal" to the string "de_DE".

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


More information about the wp-trac mailing list