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

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 22 15:28:11 UTC 2011


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

Comment (by linushoppe):

 For WordPress 3.3 we did a complete rewrite of the patch to make wordpress
 work with PHP's native gettext-support.

 The Patch now emulates the PoMo-API and creates an alias from the old
 class
 named "MO" to itself - you just have to make sure that its loaded *before*
 pomo is loaded.

 File that were modified:
   wp-settings.php (new verson attached to the bug report)

 Files that were added
   wp-includes/pomo/native.php (attached to the bug report)


 I've added a patch to create the new native.php and to modify the wp-
 settings.php.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17268#comment:30>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list