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

WordPress Trac noreply at wordpress.org
Thu Jun 22 07:49:52 UTC 2017


#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 ocean90):

 Replying to [comment:78 dd32]:
 > I don't think using the PHP Gettext library is a realistic option for
 WordPress (It's not exactly the best PHP API at all) and using object
 caches isn't good for i18n either (although benchmarks may show a benefit,
 it'll have consequences under heavy load).

 I second that. It's not a secret that Gettext isn't the best i18n library
 out there, We had a lot of chatter about that at WCEU. So maybe we should
 take this opportunity to look at alternatives like MessageFormat.

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


More information about the wp-trac mailing list