[wp-trac] [WordPress Trac] #17268: Use native gettext library when available

WordPress Trac noreply at wordpress.org
Mon Jan 27 11:29:58 UTC 2014


#17268: Use native gettext library when available
-----------------------------+-----------------------------
 Reporter:  linushoppe       |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  I18N             |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  early has-patch  |     Focuses:  performance
-----------------------------+-----------------------------

Comment (by greencp):

 linushoppe, I included your gettext implementation into my new plugin
 [http://wordpress.org/plugins/wp-performance-pack/ WP Performance Pack]
 and added you to the list of contributors. It can be used without any
 chances to core files by using override_load_textdomain.

 The plugin needs some more checks if native gettext can be used, but it
 works for me. Only changes I made to your implementation were adding
 checks for NOOP_Translations in merge_with and merge_originals_with.

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


More information about the wp-trac mailing list