[wp-trac] [WordPress Trac] #27050: Allow to load locales from `WP_LANG_DIR."/$locale/$locale.php"`

WordPress Trac noreply at wordpress.org
Mon Feb 10 22:44:25 UTC 2014


#27050: Allow to load locales from `WP_LANG_DIR."/$locale/$locale.php"`
-------------------------------+------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  I18N               |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by swalkinshaw):

 Replying to [comment:3 ocean90]:
 > Why only `$locale.php`? What about the language files?

 It was only `$locale.php` before (see patch). This just allows it to be
 optionally loaded from a subdirectory (named after WP_LANG) as well.

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


More information about the wp-trac mailing list