Title: Native Gettext for WordPress
Author: colinleroy
Published: <strong>February 26, 2022</strong>
Last modified: September 4, 2024

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/native-gettext.svg)

# Native Gettext for WordPress

 By [colinleroy](https://profiles.wordpress.org/colinleroy/)

[Download](https://downloads.wordpress.org/plugin/native-gettext.1.1.4.zip)

 * [Details](https://twd.wordpress.org/plugins/native-gettext/#description)
 * [Reviews](https://twd.wordpress.org/plugins/native-gettext/#reviews)
 * [Development](https://twd.wordpress.org/plugins/native-gettext/#developers)

 [Support](https://wordpress.org/support/plugin/native-gettext/)

## Description

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.

## Reviews

![](https://secure.gravatar.com/avatar/6b6828d80a4b959f8584a331032769c86ceb4f3b40267c4573569b1caaca6c69?
s=60&d=retro&r=g)

### 󠀁[Really speed up an italian site](https://wordpress.org/support/topic/really-speed-up-an-italian-site/)󠁿

 [Annonnimmo](https://profiles.wordpress.org/annonnimmo/) August 19, 2024

Used on a WP 5.6.x in italian language: frontend pages from 600ms to less than 400ms,
great effect!!Thank you.

![](https://secure.gravatar.com/avatar/cd257f389c91f137dab25f343b527123e887135b01921ebb6206e40cfa2eb636?
s=60&d=retro&r=g)

### 󠀁[Works as it says, fast](https://wordpress.org/support/topic/works-as-it-says-fast/)󠁿

 [Knut Sparhell](https://profiles.wordpress.org/knutsp/) June 20, 2022

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.

![](https://secure.gravatar.com/avatar/f99ef16a50d87ccfe464631d036468e3b795ba0c7b1200d1afb01a100aaf7c8f?
s=60&d=retro&r=g)

### 󠀁[Fast & Friendly](https://wordpress.org/support/topic/fast-friendly-3/)󠁿

 [Carsten Bach](https://profiles.wordpress.org/carstenbach/) June 19, 2022 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.

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/native-gettext/reviews/)

## Contributors & Developers

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

Contributors

 *   [ colinleroy ](https://profiles.wordpress.org/colinleroy/)

“Native Gettext for WordPress” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/native-gettext/contributors)
for their contributions.

[Translate “Native Gettext for WordPress” into your language.](https://translate.wordpress.org/projects/wp-plugins/native-gettext)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/native-gettext/), check
out the [SVN repository](https://plugins.svn.wordpress.org/native-gettext/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/native-gettext/)
by [RSS](https://plugins.trac.wordpress.org/log/native-gettext/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.1.4**
 *  Last updated **2 years ago**
 *  Active installations **40+**
 *  WordPress version ** 4.7 or higher **
 *  Tested up to **6.6.5**
 *  PHP version ** 5.3 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/native-gettext/) and [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/native-gettext/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/native-gettext)
 * Tags
 * [gettext](https://twd.wordpress.org/plugins/tags/gettext/)[performance](https://twd.wordpress.org/plugins/tags/performance/)
   [translation](https://twd.wordpress.org/plugins/tags/translation/)
 *  [Advanced View](https://twd.wordpress.org/plugins/native-gettext/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/native-gettext/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/native-gettext/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/native-gettext/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/native-gettext/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/native-gettext/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/native-gettext/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/native-gettext/reviews/)

## Contributors

 *   [ colinleroy ](https://profiles.wordpress.org/colinleroy/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/native-gettext/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://paypal.me/colinleroymira)