[wp-trac] [WordPress Trac] #17268: Using pomo for translations is very inefficient
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 28 11:32:30 UTC 2011
#17268: Using pomo for translations is very inefficient
--------------------------+-----------------------------
Reporter: linushoppe | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
[http://codex.wordpress.org/Translating_WordPress Here] you say that the
GNU gettext-Framework is used. Exactly, "pomo" (file: wp-
includes/l10n.php) is a complete own php-implementation of the gettext-
program.
I've added a patch to solve this problem. Maybe it is not very good, but
it works. On my wordpress-sites, the used php-memory returns from about
65% to about 12% and the site is running much faster when patching wp-
includes/l10n.php.
I know that gettext is not available on every wordpress-installation, but
when it's available, it should be used.
Sorry for my bad english, I'm german.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17268>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list