Use native gettext library when available
|Reported by:||linushoppe||Owned by:|
|Component:||I18N||Keywords:||early has-patch needs-refresh|
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.
Change History (69)
- Cc ocean90 added
- Component changed from General to I18N
- Type changed from defect (bug) to enhancement
- Summary changed from Using pomo for translations is very inefficient to Use native gettext library when available
- Keywords early added
- Milestone changed from Awaiting Review to Future Release