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

WordPress Trac noreply at wordpress.org
Tue Jun 21 09:57:52 UTC 2016


#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 needs-refresh  |     Focuses:  performance
-------------------------------------------+-----------------------------

Comment (by francescobagnoli):

 Replying to [comment:61 luciole135]:
 > I use this hack for 3 years without any problems on my web site.
 > I have not tested it for a multisite.
 >
 > To do this I added to '''wp-config.php''' file the following lines:
 >
 > {{{
 > /* Utilisation de gettext pour l'internationalisation */
 > require( ABSPATH . '/wp-includes/pomo/native.php');
 > }}}
 >

 After some test on multisite, it work with a speed improvment of 0.5
 seconds.

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


More information about the wp-trac mailing list