Native Gettext for WordPress

ཞིབ་བརྗོད།

This plugin has no setting or UI. It just does one thing : use the php-gettext library to handle translations. This results in much faster translation than using the default PHP gettext implementation of WordPress.

If the extension is not available, the plugin will simply do nothing.

You can verify that the plugin is working by looking for an HTTP header: X-Native-Gettext: 1, that will be sent as soon as a string will be translated by the native library.

If your WordPress install is in English, this plugin has no purpose. Otherwise, it can help speed up your install quite a lot.

Requirements:
– php-gettext
– OS-level support for the locale(s) you want to translate to.

གདེང་འཇོག

2024 ལོའི་ཟླ 8 ཚེས 19 ཉིན།
Used on a WP 5.6.x in italian language: frontend pages from 600ms to less than 400ms, great effect!!Thank you.
2022 ལོའི་ཟླ 6 ཚེས 20 ཉིན།
No problems found, after testing on several sites. My sites are all heavily dependent on fast loading of text domains, and all have the PHP gettext extension. PHP 8.0 and 8.1. However, may not work in combination with other WordPress plugins overriding load_textdomain.
2022 ལོའི་ཟླ 6 ཚེས 19 ཉིན། 1 reply
Great Plugin. It does one job and it does very good! With the help of the Query Monitor Plugin, I was able to measure a drop of almost 45% of PHP memory usage using “Native Gettext for WordPress” for a simple Dashboard-request. Really cool. The plugin author is answering friendly and helpful to support requests.
གདེང་འཇོག 3 ཡོངས་སུ་ཀློག

བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།

“Native Gettext for WordPress” is open source software. The following people have contributed to this plugin.

བྱས་རྗེས་འཇོག་མཁན།

“Native Gettext for WordPress” has been translated into 1 locale. Thank you to the translators for their contributions.

ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “Native Gettext for WordPress” ཡིག་སྒྱུར་བྱོས།

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.